@danielmrz-dev
Posted
Hello @dkaffes!
Your solution looks great!
About your question:
- Please enlighten me! The Sign-up <a> element breaks to a two-line text at 360px. And as the width becomes smaller the whole button breaks because of its padding settings.
š First: You can decrease the padding on the X axis a little bit. 5.5rem
is a lot of padding š
š Second: Add white-space: nowrap:
to it. It'll prevent from breaking the row.
I hope it helps!
šø
Marked as helpful
@dkaffes
Posted
Hi @danielmrz-dev!
I know that 5.5rem
is a lot of padding š!
I was just trying to emulate the design given!
Thanks for the tips! Pretty useful!
@danielmrz-dev
Posted
@dkaffes
An alternative solution for not using that much padding is to set the button's width. By doing this, you won't need horizontal padding š