Skip to content

Commit 58d17ac

Browse files
committed
fix(web): keep scoped descendants inside global desktop-platform selectors
1 parent b5457c7 commit 58d17ac

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎apps/pythinker-web/src/App.vue‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1352,20 +1352,20 @@ function openPr(url: string): void {
13521352
overflow: hidden;
13531353
box-sizing: border-box;
13541354
}
1355-
:global(html[data-desktop-platform='darwin']) .app,
1356-
:global(html[data-desktop-platform='win32']) .app {
1355+
:global(html[data-desktop-platform='darwin'] .app),
1356+
:global(html[data-desktop-platform='win32'] .app) {
13571357
background: transparent;
13581358
}
13591359
:global(html[data-desktop-platform='darwin'] .side),
13601360
:global(html[data-desktop-platform='win32'] .side),
1361-
:global(html[data-desktop-platform='darwin']) .sidebar-rail,
1362-
:global(html[data-desktop-platform='win32']) .sidebar-rail {
1361+
:global(html[data-desktop-platform='darwin'] .sidebar-rail),
1362+
:global(html[data-desktop-platform='win32'] .sidebar-rail) {
13631363
background: color-mix(in srgb, var(--panel) 55%, transparent);
13641364
}
13651365
:global(html[data-desktop-platform='darwin'] .con),
13661366
:global(html[data-desktop-platform='win32'] .con),
1367-
:global(html[data-desktop-platform='darwin']) .global-preview,
1368-
:global(html[data-desktop-platform='win32']) .global-preview {
1367+
:global(html[data-desktop-platform='darwin'] .global-preview),
1368+
:global(html[data-desktop-platform='win32'] .global-preview) {
13691369
background: var(--bg);
13701370
}
13711371
/* Grid children must be allowed to shrink below content height so that only

‎apps/pythinker-web/src/components/Sidebar.vue‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -592,12 +592,12 @@ const showNewWorkspaceButton = false;
592592
width: 100%;
593593
box-sizing: border-box;
594594
}
595-
:global(html[data-desktop-platform='darwin']) .ch {
595+
:global(html[data-desktop-platform='darwin'] .ch) {
596596
padding-top: 42px;
597597
-webkit-app-region: drag;
598598
}
599-
:global(html[data-desktop-platform='darwin']) .ch button,
600-
:global(html[data-desktop-platform='darwin']) .ch .ch-brand {
599+
:global(html[data-desktop-platform='darwin'] .ch button),
600+
:global(html[data-desktop-platform='darwin'] .ch .ch-brand) {
601601
-webkit-app-region: no-drag;
602602
}
603603
.ch-brand {

0 commit comments

Comments
 (0)