Skip to content

Commit 4c9399e

Browse files
committed
Raise setting z-axis
1 parent fc3fb3b commit 4c9399e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pecan/src/assets/wcars.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
border-bottom: 1px solid var(--wcars-line);
5555
padding-bottom: 0.6rem;
5656
margin-bottom: 1.1rem;
57-
z-index: 2;
57+
z-index: 10; /* must exceed .wcars-grid (z:2) so the settings panel stacks above it */
5858
}
5959

6060
.wcars-header h1 {
@@ -372,7 +372,7 @@
372372
}
373373

374374
/* ---- Settings panel ---- */
375-
.wcars-settings { position: relative; z-index: 3; }
375+
.wcars-settings { position: relative; z-index: 11; }
376376
.wcars-gear {
377377
background: transparent;
378378
border: 1px solid var(--wcars-cyan);
@@ -395,7 +395,7 @@
395395
border: 1px solid var(--wcars-cyan);
396396
border-radius: 2px;
397397
padding: 1rem 1.1rem;
398-
z-index: 100;
398+
z-index: 1000;
399399
min-width: 19rem;
400400
text-transform: none;
401401
letter-spacing: normal;

0 commit comments

Comments
 (0)