From 37e284f1d26836bb682e43f8535f1b4f7acfdfb9 Mon Sep 17 00:00:00 2001 From: intergrav Date: Tue, 21 Jan 2025 12:06:01 -0500 Subject: [PATCH] feat: scrollable header when too wide also condense some stuff --- dev.css | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/dev.css b/dev.css index 22c6daf..80a21fe 100644 --- a/dev.css +++ b/dev.css @@ -245,37 +245,25 @@ header h3 { padding-bottom: 0; } -header nav ul { - display: flex; - list-style: none; - padding: 0; -} - -header nav ul li { - margin: 0; - display: flex; -} - -header nav ul li:not(:first-child)::before { - content: "•"; - margin: 0 0.25em; -} - footer > *:last-child { margin-bottom: 0; } +header nav ul, footer nav ul { display: flex; + overflow-x: auto; list-style: none; padding: 0; } +header nav ul li, footer nav ul li { margin: 0; display: flex; } +header nav ul li:not(:first-child)::before, footer nav ul li:not(:first-child)::before { content: "•"; margin: 0 0.25em; -- 2.51.2