Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! Re-implement Modal component using HTML…
Browse files Browse the repository at this point in the history
…DialogElement (#461)
  • Loading branch information
bedrich-schindler committed Sep 8, 2024
1 parent 06a7018 commit 6348886
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/components/Modal/Modal.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// * visibility of the .root element and its backdrop is managed by the browser
// * positioning of the .root element and its backdrop is managed by the browser
// * z-index of the .root element and its backdrop is not needed as dialog is rendered in browser's Top layer
// 2. When dialogs are stacked, only the topmost dialog should have a backdrop.

@use "sass:map";
@use "../../styles/theme/typography";
Expand Down Expand Up @@ -36,10 +35,6 @@
}
}

.root:has(.root)::backdrop {
background: transparent; // 2.
}

.root[open] {
display: flex;
animation: fade-in theme.$animation-duration ease-out;
Expand Down

0 comments on commit 6348886

Please sign in to comment.