Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix the content of the button being displayed in two lines #1114

Open
Code-Beaker opened this issue Dec 23, 2024 · 0 comments
Open

fix the content of the button being displayed in two lines #1114

Code-Beaker opened this issue Dec 23, 2024 · 0 comments

Comments

@Code-Beaker
Copy link

Code-Beaker commented Dec 23, 2024

image

The content of this button is being displayed in two lines. I tried to edit it using DevTools and adding this property to the button's styles can possibly fix this issue:

min-width: fit-content;

I wanted to share my personal idea of adding a bit of padding which can make it look better.

padding: .5rem 1rem;

This is how it looks after making the changes:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant