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

Hard coded widths for button shapes #78

Open
roblevintennis opened this issue Jan 24, 2018 · 2 comments
Open

Hard coded widths for button shapes #78

roblevintennis opened this issue Jan 24, 2018 · 2 comments

Comments

@roblevintennis
Copy link
Collaborator

image

Button square (and possibly other shapes) have a hard coded width so they don't grow to text content.

@Govinda04
Copy link

Govinda04 commented Nov 27, 2023

Hi @roblevintennis I am not sure exact what the issue you are facing. But from above context I get that you are trying to get square button with "longer text" but it did not takes the width (like cuts off), right?

If case is as mention above then I think you cannot write longer text in button (then obviously it becomes rectangle).
so button preserves its shape so you can add normal Icons in button text and then it will be perfectly

  • circle
  • square
  • Squircle

If you need to define the corners you can use

  • button-rounded (for slightly rounded corners)
  • button-pill (for pill or half circle on left-right edge)

Hope this clears the doubt, If not can you please provide more context so I can understand it from you perspective and fix it.
Thanks.

@cybernet
Copy link

@Govinda04 what do you think is gonna happen when you reply after 5 years ?

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

3 participants