From fef12111ffd60e1aafddd1b2bf1bcdda222f8280 Mon Sep 17 00:00:00 2001 From: Fabien Cazenave Date: Tue, 19 Mar 2024 14:34:38 +0100 Subject: [PATCH] [www] better submenu (#150) --- www/assets/css/theme.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/www/assets/css/theme.css b/www/assets/css/theme.css index 81e6a765..6338e86c 100644 --- a/www/assets/css/theme.css +++ b/www/assets/css/theme.css @@ -330,7 +330,7 @@ code { /* character, digrams, trigrams */ /* tab-like navigation bar */ header + nav ul { - justify-content: flex-end; + justify-content: flex-start; background-color: var(--bg-banner); } header + nav li { @@ -344,8 +344,11 @@ code { /* character, digrams, trigrams */ header + nav li:has(.active) ul { display: flex; position: absolute; + left: 0; + width: 100%; + padding: 0 var(--main-padding); + box-sizing: border-box; background-color: var(--bg-main); - padding: 0; } header + nav li:has(.active) li { border: none;