commit | 91003f525c78ed063ea97de9158eca3943b8a0cd | [log] [tgz] |
---|---|---|
author | Benedikt Meurer <[email protected]> | Thu Jan 23 15:49:58 2025 |
committer | Devtools-frontend LUCI CQ <devtools-frontend-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jan 23 16:52:40 2025 |
tree | 92dc4dae85e5664472f1937a5935aea45a9abfbc | |
parent | 7676322435f1540d081c03a266689b714388367f [diff] [blame] |
[cleanup] Remove unnecessary shadow roots in device mode toolbar. The shadow roots were originally required due to the enforced shadow DOM by the old `UI.Toolbar.Toolbar`, but with the new light DOM approach, these are just unnecessary. Bug: 391381439, 388445687 Change-Id: Ia1a99363e82bd624c91d29bda0654cd5ab63be30 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6194452 Reviewed-by: Alex Rudenko <[email protected]> Auto-Submit: Benedikt Meurer <[email protected]> Commit-Queue: Alex Rudenko <[email protected]>
diff --git a/front_end/panels/emulation/deviceModeView.css b/front_end/panels/emulation/deviceModeView.css index 69775d7..1ec18ad 100644 --- a/front_end/panels/emulation/deviceModeView.css +++ b/front_end/panels/emulation/deviceModeView.css
@@ -20,6 +20,15 @@ align-items: stretch; } +.device-mode-x { + margin: 0 1px; + font-size: 16px; +} + +.device-mode-empty-toolbar-element { + width: 0; +} + devtools-toolbar { overflow: hidden; flex: 0 100000 auto;