Skip to content

Commit 5712fc8

Browse files
pfaffeDevtools-frontend LUCI CQ
authored andcommitted
Scope styles in LayoutPane
Fixed: 430520387 Change-Id: Ic709b1505490445b998aeec7375ad2dc9c91165b Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6718253 Commit-Queue: Philip Pfaffe <[email protected]> Reviewed-by: Ergün Erdoğmuş <[email protected]>
1 parent ec23136 commit 5712fc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

front_end/panels/elements/LayoutPane.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,8 @@ const DEFAULT_VIEW: View = (input, output, target) => {
283283
// clang-format off
284284
render(html`
285285
<div style="min-width: min-content;" jslog=${VisualLogging.pane('layout').track({resize: true})}>
286-
<style>${layoutPaneStyles}</style>
287-
<style>${UI.inspectorCommonStyles}</style>
286+
<style>@scope to (devtools-widget) { ${layoutPaneStyles} }</style>
287+
<style>@scope to (devtools-widget) { ${UI.inspectorCommonStyles} }</style>
288288
<details open>
289289
<summary class="header"
290290
@keydown=${input.onSummaryKeyDown}

0 commit comments

Comments
 (0)