Skip to content

Commit

Permalink
Merge pull request #2434 from boltdesignsystem/bugfix/modal-regular-m…
Browse files Browse the repository at this point in the history
…ax-width

Fix: add max width to regular modal
  • Loading branch information
danielamorse committed Feb 4, 2022
1 parent 0088838 commit 99a8527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/bolt-modal/src/modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ bolt-modal:not([ready]) {
// Content width options
@include bolt-mq($bolt-modal-breakpoint) {
.c-bolt-modal__content--width-regular {
width: 100% / 12 * 10;
width: clamp(200px, calc(100% / 12 * 10), #{bolt-breakpoint(xxlarge)});
}

.c-bolt-modal__content--width-optimal {
Expand Down

0 comments on commit 99a8527

Please sign in to comment.