Skip to content

Commit 85d8878

Browse files
authored
Merge branch 'master' into apetrov/navdrawer-shadow-fix
2 parents 843aec2 + 16fb192 commit 85d8878

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/components/dialog/themes/dialog.base.scss

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
@use 'styles/utilities' as *;
33

44
:host {
5+
--transition-duration: 350ms;
6+
7+
display: contents;
58
border-style: none;
69
padding: unset;
710
}
@@ -80,9 +83,11 @@ dialog::backdrop {
8083
z-index: 10005;
8184
pointer-events: none;
8285
opacity: 0;
83-
transition: opacity 350ms ease-out;
86+
transition: opacity var(--transition-duration) ease-out;
8487
}
8588

86-
:host([open]) [part='backdrop'] {
87-
opacity: 1;
89+
:host([open]) {
90+
[part='backdrop'] {
91+
opacity: 1;
92+
}
8893
}

0 commit comments

Comments
 (0)