Next Images, how to make them proportional?
Unanswered
AverageJohnny posted this in #help-forum
Original message was deleted.
5 Replies
Laysan Albatross
you could use tailwind grid-cols or flex-row
the width and heigth attributes of <Image> are not what you're looking for btw. They are there so that you can specifiy the size of the image that is rendered, so that you dont need to load a 4000px x 4000px image for a small icon for example.
you still need to set the width with tailwindcss.
you still need to set the width with tailwindcss.
@Laysan Albatross the width and heigth attributes of <Image> are not what you're looking for btw. They are there so that you can specifiy the size of the image that is rendered, so that you dont need to load a 4000px x 4000px image for a small icon for example.
you still need to set the width with tailwindcss.
I fail to understand how I can use this to make width-auto and height be the height of the parent. If I put it in a div I still have to set those numbers. I don't know the exact width of each logo.
Laysan Albatross
why did you delete your question ^^ wanted to have a look over it again 😄