Skip to content

Commit

Permalink
Merge pull request #5745 from pat270/LPS-204738
Browse files Browse the repository at this point in the history
fix(@clayui/css): modal-body-iframe should have no padding on screens…
  • Loading branch information
marcoscv-work authored Jan 18, 2024
2 parents 1a0c2b9 + 00dde4e commit 2f0448a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion packages/clay-css/src/scss/cadmin/variables/_modals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ $cadmin-modal-content: map-deep-merge(
color: $cadmin-modal-content-color,
display: flex,
flex-direction: column,
max-height: calc(100vh - #{$cadmin-modal-dialog-margin-y-sm-up} * 2),
max-height: calc(100vh - #{$cadmin-modal-dialog-margin} * 2),
outline: 0,
overflow: hidden,
pointer-events: auto,
Expand Down Expand Up @@ -382,6 +382,9 @@ $cadmin-modal: map-deep-merge(
modal-body: (
padding: 8px 16px,
),
modal-body-iframe: (
padding: 0px,
),
modal-footer: (
padding: 8px,
),
Expand Down
5 changes: 4 additions & 1 deletion packages/clay-css/src/scss/variables/_modals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ $modal-content: map-deep-merge(
color: $modal-content-color,
display: flex,
flex-direction: column,
max-height: calc(100vh - #{$modal-dialog-margin-y-sm-up} * 2),
max-height: calc(100vh - #{$modal-dialog-margin} * 2),
outline: 0,
overflow: hidden,
pointer-events: auto,
Expand Down Expand Up @@ -381,6 +381,9 @@ $modal: map-deep-merge(
modal-body: (
padding: 0.5rem 1rem,
),
modal-body-iframe: (
padding: 0,
),
modal-footer: (
padding: 0.5rem,
),
Expand Down

0 comments on commit 2f0448a

Please sign in to comment.