Hi, I have the following suggestions:
-
Remove the height prop on the main element (inside your @media query)
-
Inside your @media query, change the align-items prop to center, this will ensure the content on your website remains vertically centered during resizing
-
Also, consider removing the width prop on your main element and giving its children a width: (in %), and max-width: (in px). This will help in avoiding the side-scrolling that occurs when resizing.
Marked as helpful
@Hazard-58
Posted
@nzabajp thanks for help bro:)
@Hazard-58 its a pleasure ey