Skip to content

Commit b321159

Browse files
authored
fix: keep task overlays above workspace chrome (#247)
1 parent bb6fb75 commit b321159

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

‎desktop/src/features/tasks/task.css‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
.drawer-backdrop {
33
position: fixed;
44
inset: 0;
5-
z-index: 4;
5+
/* Keep the drawer header and Close above workspace chrome and its dock. */
6+
z-index: 100;
67
display: flex;
78
justify-content: flex-end;
89
background: var(--color-backdrop);

‎desktop/src/styles/global.css‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1130,7 +1130,8 @@ footer svg {
11301130
inset: 0;
11311131
background: var(--color-backdrop);
11321132
backdrop-filter: none;
1133-
z-index: 5;
1133+
/* Editors sit above workspace chrome and the overlay dock (90). */
1134+
z-index: 110;
11341135
display: flex;
11351136
align-items: center;
11361137
justify-content: center;

‎desktop/src/styles/planning.css‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,8 @@ a.drawer-fact {
387387
/* Popover menus (calendar entries and blocks). */
388388
.popover {
389389
position: fixed;
390-
z-index: 7;
390+
/* Owned menus remain above drawers and editors. */
391+
z-index: 120;
391392
width: min(300px, calc(100vw - 16px));
392393
padding: 14px;
393394
border: 1px solid var(--border);
@@ -656,7 +657,7 @@ kbd {
656657
.command-backdrop {
657658
position: fixed;
658659
inset: 0;
659-
z-index: 9;
660+
z-index: 130;
660661
display: flex;
661662
justify-content: center;
662663
align-items: flex-start;

0 commit comments

Comments
 (0)