Skip to content

Commit

Permalink
Merge pull request #5641 from pat270/clay-5639
Browse files Browse the repository at this point in the history
fix(@clayui/css): Cadmin Modal is outputing wrong selector for .modal…
  • Loading branch information
matuzalemsteles authored Jul 19, 2023
2 parents b4a60b9 + a2f2787 commit 37ceb8a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions packages/clay-css/src/scss/cadmin/components/_modals.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
.modal-open,
&.modal-open {
overflow: hidden;
}

.modal {
overflow-x: hidden;
overflow-y: auto;
@at-root {
#{clay-insert-before('.cadmin', '.modal-open ')} {
.modal {
overflow-x: hidden;
overflow-y: auto;
}
}
}

Expand Down

0 comments on commit 37ceb8a

Please sign in to comment.