From 32ef823d34cdce84d25ef7f8268343b8982d5b55 Mon Sep 17 00:00:00 2001 From: eclipse Date: Wed, 19 Feb 2025 09:50:15 +0100 Subject: [PATCH] fixed a bug where all links under an aria-current="page" submenu heading would be underlined --- theme/static/css/custom.css | 3 ++- theme/templates/includes/navbar.html | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/theme/static/css/custom.css b/theme/static/css/custom.css index 34dfae7..6d5fdff 100644 --- a/theme/static/css/custom.css +++ b/theme/static/css/custom.css @@ -183,7 +183,8 @@ a { padding-right: 0; } - li[aria-current=page] a { + li[aria-current=page]>a, + li[aria-current=page]>details>summary>a { text-decoration: underline; } diff --git a/theme/templates/includes/navbar.html b/theme/templates/includes/navbar.html index 9ece676..9179e70 100644 --- a/theme/templates/includes/navbar.html +++ b/theme/templates/includes/navbar.html @@ -9,12 +9,14 @@