Skip to content

Commit

Permalink
feat(Modal): fix initial values to fit design (0-1280px)
Browse files Browse the repository at this point in the history
  • Loading branch information
YossiSaadi committed Jan 26, 2025
1 parent ae05b99 commit 47e842c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions packages/core/src/components/Modal/Modal/Modal.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,17 @@ $full-view-margin: 40px;

&.sizeSmall {
--modal-max-height: 50%;
--modal-width: 480px;
--modal-width: 460px;
}

&.sizeMedium {
--modal-max-height: 80%;
--modal-width: 580px;
--modal-width: 540px;
}

&.sizeLarge {
--modal-max-height: 80%;
--modal-width: 840px;
--modal-width: 800px;
}

&.sizeFullView {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,17 @@
[aria-modal][role="dialog"] {
&[class*="sizeSmall"] {
--modal-max-height: 50%;
--modal-width: 480px;
--modal-width: 460px;
}

&[class*="sizeMedium"] {
--modal-max-height: 80%;
--modal-width: 580px;
--modal-width: 540px;
}

&[class*="sizeLarge"] {
--modal-max-height: 80%;
--modal-width: 840px;
--modal-width: 800px;
}

&[class*="sizeFullView"] {
Expand Down

0 comments on commit 47e842c

Please sign in to comment.