@Vanfrankie7
Posted
Great job Asledin, I noticed that in the desktop version, the container (card) is stuck at the top of the screen. No margin at the top. You could add a margin at the top to see if that would solve the issue.
@geomydas
Posted
@Vanfrankie7 no no no, you should use padding instead. its using fixed heights aswell which is unresponsive and there are more issues inside the css
@Vanfrankie7
Posted
@geomydas So, is it only containers with fixed heights that margin-top is advisable for? Containers without fixed heights should be applied padding instead?
@Asledin-max
Posted
@Vanfrankie7 Thank you for your comment. I understand now what should be careful in my design and will fix it that issue.
@geomydas
Posted
@Vanfrankie7 even if you use fixed-height or not, you would still use padding for this case. using fixed-height here is already unresponsive and you wouldn't need to set a height to an element in the first place. the only exception for fixed heights are small decorations that wont change such as a profile picture