Skip to content

Commit 305d9ba

Browse files
committed
fix: Order of z-index
1 parent 8d1ff38 commit 305d9ba

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/layout/Navbar/NavHost.svelte

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@
202202
}
203203
204204
#nav-container {
205-
z-index: 1;
205+
z-index: 5;
206206
top: 0;
207207
position: sticky;
208208
width: 100%;
@@ -246,7 +246,7 @@
246246
width: 100%;
247247
height: 100%;
248248
background-color: rgba(0, 0, 0, 0.5);
249-
z-index: 88;
249+
z-index: 3;
250250
}
251251
252252
.nav-wrapper {
@@ -288,7 +288,7 @@
288288
left: 0;
289289
height: 100%;
290290
background-color: var(--surface-eight);
291-
z-index: 100;
291+
z-index: 4;
292292
}
293293
294294
.nav-wrapper {
@@ -317,7 +317,7 @@
317317
}
318318
319319
#secondary-navigation {
320-
z-index: 100;
320+
z-index: 4;
321321
padding: 16px;
322322
}
323323
}
@@ -334,7 +334,7 @@
334334
position: relative;
335335
display: flex;
336336
height: 50px;
337-
z-index: 999;
337+
z-index: 6;
338338
justify-content: center;
339339
align-items: center;
340340
cursor: pointer;
@@ -383,7 +383,7 @@
383383
border-radius: 100px;
384384
text-decoration: none;
385385
background-color: var(--primary);
386-
z-index: 10;
386+
z-index: 2;
387387
color: var(--text-three);
388388
font-weight: 600;
389389
font-size: 0.95rem;

src/lib/components/Dialogue.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
width: 100%;
8181
height: 100%;
8282
background-color: rgba(0, 0, 0, 0.5);
83-
z-index: 999;
83+
z-index: 6;
8484
}
8585
8686
.top {
@@ -129,7 +129,7 @@
129129
display: flex;
130130
flex-direction: column;
131131
gap: 2px;
132-
z-index: 1001;
132+
z-index: 7;
133133
padding: 32px;
134134
box-shadow:
135135
0px 4px 5px 0px rgba(0, 0, 0, 0.14),

src/lib/components/Snackbar.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
position: fixed;
4343
margin-left: 2.25rem;
4444
margin-right: 2.25rem;
45-
z-index: 9999;
45+
z-index: 8;
4646
left: 0;
4747
right: 0;
4848
bottom: 2rem;

0 commit comments

Comments
 (0)