When I shrink the height of the page my buttons become smaller in a weird way

hi, something weird happens when I make the window smaller, when I reduce the width everything goes as it should, but when I reduce the weight my buttons become smaller, what could I do to improve it?
here I add a video of the problem https://drive.google.com/file/d/1Q7Vg5UR3LcHfSfC_spYu22gRaGN4BVFU/view?usp=sharing
thank you in advance

Hello Juan,

Thanks for posting in!

You are experiencing this issue because you have set the width to 23vh which means that the width of your button us 20% of the browser height.

Please set a fixed unit like the em, rem or px to avoid such issue.

Kindly let us know how it goes.

it works perfectly, where can I find what is the meaning of every unit and when to use it?
thank you

Hey Juan,

You can check these articles for the meaning of each units.

Hope that helps.

thank you, it does, have a great day

You’re most welcome.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.