Skip to content

Commit

Permalink
fix(modal): max width
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-berlin committed Jan 13, 2024
1 parent e797f56 commit 2579c77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/styles/components/_modal.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@use "@styles/variables/base";
@use "@styles/variables" as vars;
@use "@sass-butler/mixins" as butler-mx;

.c-modal {
border: none;
inset: 0;
background-color: var(--color-background-modal, var(--floating-color-background));
width: max(400px, 80%);
width: max(400px, vars.$body-max-width);

/**
* Important for exit animation
Expand Down

0 comments on commit 2579c77

Please sign in to comment.