Site logo

Archived topic

I want a picture to always be positioned to the edge.

3 replies · Started by Samuel on June 14, 2020

Viewing posts 1–4 of 4

Hi there,

That's strange - does the issue go away if you remove the min-height from the main container?

Yes, when i put in vh min heigh, then i get problems. Without a value in the vh box, it fits. That's okay, I can solve it with paddings. But my scenario is not that unlikely?! vh = 100 and then another picture up to the edge. ;) Just for feedback.

I agree. Might be a tough one as setting min-height actually sets the container as a flex item so it can be vertically aligned. That's the conflict I think.

I'll play with it :)

This archived topic is closed to new replies.