Skip to content

Commit

Permalink
fix(Modal): backdrop effect for popover too
Browse files Browse the repository at this point in the history
  • Loading branch information
wuda-io committed Dec 23, 2024
1 parent 8126c67 commit 85b74e7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions sass/components/_modal.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// custom backdrop blur
dialog::backdrop {
backdrop-filter: blur(1px);
}

// use with dialog html element
.modal {
--modal-footer-divider-height: 1px;
Expand Down Expand Up @@ -32,6 +27,11 @@ dialog::backdrop {
width: 80%;
}

// custom backdrop blur
&::backdrop {
backdrop-filter: blur(1px);
}

.modal-header {
padding: var(--modal-padding);
padding-bottom: var(--modal-padding-bottom);
Expand Down

0 comments on commit 85b74e7

Please sign in to comment.