-
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
How to change the size of ComposedModal? #3122
Comments
can you provide a Code Sandbox example showing the issue you are facing? but a general answer would be to just override the existing component CSS with what you need |
Talknig generally I would like to have the modal opens with more size (width & hight) tried using this css to achieve it but it's not taking affect:
div.solid { div.inline { hr.dotted { .Description { body, html { .content, .modal { .content { .modal { .modal.active { |
your code sandbox is broken, but is there any reason why applying styles to |
I updated my sandbox. When I used the .bx--modal-container and updated it's size to a value lower than 750px the size change was reflected, but when trying 800px it's not expanding any more! .bx--modal-container { |
the code sandbox you provided does not contain any modal code |
Seems it wasn't saved. Pls try again |
unset the .bx--modal-container {
max-width: none;
width: 800px;
} |
What package(s) are you using?
carbon-components
carbon-components-react
Summary
I want to make the opened ComposedModal bigger in order to put more content inside with minimum vertical slide.
Relevant information
The text was updated successfully, but these errors were encountered: