Skip to content

Commit 37e284f

Browse files
committed
feat: scrollable header when too wide
also condense some stuff
1 parent 4f3429f commit 37e284f

File tree

1 file changed

+4
-16
lines changed

1 file changed

+4
-16
lines changed

dev.css

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -245,37 +245,25 @@ header h3 {
245245
padding-bottom: 0;
246246
}
247247

248-
header nav ul {
249-
display: flex;
250-
list-style: none;
251-
padding: 0;
252-
}
253-
254-
header nav ul li {
255-
margin: 0;
256-
display: flex;
257-
}
258-
259-
header nav ul li:not(:first-child)::before {
260-
content: "•";
261-
margin: 0 0.25em;
262-
}
263-
264248
footer > *:last-child {
265249
margin-bottom: 0;
266250
}
267251

252+
header nav ul,
268253
footer nav ul {
269254
display: flex;
255+
overflow-x: auto;
270256
list-style: none;
271257
padding: 0;
272258
}
273259

260+
header nav ul li,
274261
footer nav ul li {
275262
margin: 0;
276263
display: flex;
277264
}
278265

266+
header nav ul li:not(:first-child)::before,
279267
footer nav ul li:not(:first-child)::before {
280268
content: "•";
281269
margin: 0 0.25em;

0 commit comments

Comments
 (0)