diff --git a/src/components/Modal/Modal.module.scss b/src/components/Modal/Modal.module.scss index 7127b374..07697548 100644 --- a/src/components/Modal/Modal.module.scss +++ b/src/components/Modal/Modal.module.scss @@ -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"; @@ -36,10 +35,6 @@ } } - .root:has(.root)::backdrop { - background: transparent; // 2. - } - .root[open] { display: flex; animation: fade-in theme.$animation-duration ease-out;