Skip to content

Commit 83fccff

Browse files
fix: apply details background only when details is an overlay (#10303) (#10306)
Co-authored-by: Sascha Ißbrücker <sissbruecker@vaadin.com>
1 parent 5d43d83 commit 83fccff

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,11 +192,8 @@ class MasterDetailLayout extends SlotStylesMixin(ResizeMixin(ElementMixin(Themab
192192
background-color: rgba(0, 0, 0, 0.2);
193193
}
194194
195-
[part='detail'] {
196-
background: #fff;
197-
}
198-
199195
:host(:is([drawer], [stack])) [part='detail'] {
196+
background-color: #fff;
200197
box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.3);
201198
}
202199

0 commit comments

Comments
 (0)