From 044b35129df00b52ea1de3587f3f233127406fc4 Mon Sep 17 00:00:00 2001 From: Eltrac Date: Wed, 30 Apr 2025 15:37:06 +0800 Subject: fix: unwanted gap after breadcrumb item --- layouts/partials/components/breadcrumbs.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/layouts/partials/components/breadcrumbs.html b/layouts/partials/components/breadcrumbs.html index 2c18532e..99a49708 100644 --- a/layouts/partials/components/breadcrumbs.html +++ b/layouts/partials/components/breadcrumbs.html @@ -22,10 +22,13 @@ font-family: var(--mono-font-family); li { - &:not(:last-child)::after { - content: "/"; - color: var(--secondary-text-color); - margin: 0 0.5rem; + &:not(:last-child) a { + &:hover { text-decoration: none; } + &::after { + content: "/"; + color: var(--secondary-text-color); + margin: 0 0.5rem; + } } } } -- cgit v1.2.3