Skip to content

Commit 7cf281c

Browse files
authored
fix: set z-index on backdrop and detail parts in overlay mode (#8901)
1 parent 122f78d commit 7cf281c

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎packages/master-detail-layout/src/vaadin-master-detail-layout.js‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@ class MasterDetailLayout extends SlotStylesMixin(ResizeMixin(ElementMixin(Themab
9494
:host([overlay][has-detail]) [part='backdrop'] {
9595
display: block;
9696
inset: 0;
97+
z-index: 1;
98+
}
99+
100+
:host([overlay]) [part='detail'] {
101+
z-index: 1;
97102
}
98103
99104
:host([overlay][orientation='horizontal']) [part='detail'] {

0 commit comments

Comments
 (0)