DavidAJohn / PhotoPortfolio

Personal photo portfolio .NET web application which implements a Blazor and Tailwind CSS user interface with a MongoDb database, and includes integration with Stripe Checkout and Prodigi Print API
0 stars 0 forks source link

HeroImage component - add size options #48

Closed DavidAJohn closed 1 year ago

DavidAJohn commented 1 year ago

While manually testing the PhotoDetails page and the product options I kind of felt as if the HeroImage at the top of the page was perhaps too big. It forces you to scroll down a bit too much for my liking.

There's currently no size option. The height is always set to a Tailwind class with an arbitrary value of "h-[32rem]" (I think because "h-" clashes with MudBlazor's styles).

Maybe 32rem could be large, and I'll try out some different values for a small, medium and extra large.