P
Natalie Smyth• 290
@nataliesmyth
Submitted
I think the only issue I had with this one is centering the component vertically on all screen sizes. Any tips or resources on this topic are appreciated!
@Koptelkin
@nataliesmyth
Submitted
I think the only issue I had with this one is centering the component vertically on all screen sizes. Any tips or resources on this topic are appreciated!
@Koptelkin
Posted
Set prop 'height' with value '100vh' to the classname '.main' in your 'style.css' file. Check below: .main { height: 100vh; display: flex; justify-content: center; align-items: center; }
So flexbox will allign all content vertically. This should help.