-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Single buttons on modals should be half width #5346
Comments
AFAIK it's actually a bug in website, it should take the full width actually. |
The button description and @asudoh comment above contradicts the provided screen shot and “Acknowledgement Modal” guideline which says “span 50%“: https://www.carbondesignsystem.com/components/modal/usage#acknowledgment-modal |
@asudoh It should not be full width if its one button in a modal, it should be 50%. The content needs to be updated on our website here. |
@laurenmrice Yeah I heard of spec update somewhere recently and my apologies for my stale memory on the spec. |
What package(s) are you using?
carbon-components
carbon-components-react
Detailed description
A single primary button inside a modal takes up the entire width of the modal. We've confirmed that the screenshot attached shows the correct styling of the button and the documentation on full-length buttons is incorrect.
Modals and Buttons
Additional information
Our overriding styling:
The text was updated successfully, but these errors were encountered: