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

Fixed size button #206

Open
thusc opened this issue Jan 19, 2022 · 1 comment
Open

Fixed size button #206

thusc opened this issue Jan 19, 2022 · 1 comment

Comments

@thusc
Copy link
Contributor

thusc commented Jan 19, 2022

I'm looking at https://design.smart.coop/development/docs/c-button.html wondering if it's possible to style multiple button in a column so that they have the same size. Btw I see there is one size: small...

Using buttons like this is probably a bad idea, but here is the use case: https://design.smart.coop/prototypes/portal/index.html

@emilyvandewalle
Copy link
Contributor

emilyvandewalle commented Feb 1, 2022

If the container is small we can make the buttons full width by using a c-button--block class
image

However I would advise against making the buttons fixed widths, it would be great to have a bit more context to give a good recommendation here, but maybe a stacked link list could make sense

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

2 participants