diff options
| author | Eltrac <hi@guhub.cn> | 2025-04-30 15:37:06 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-04-30 15:37:06 +0800 |
| commit | 044b35129df00b52ea1de3587f3f233127406fc4 (patch) | |
| tree | 04676af7dcec6a89d9d26865b48c67b756fa2c2b /layouts/partials | |
| parent | 1d8cb94552f45c35ffc4e2c8f06932e649a39923 (diff) | |
fix: unwanted gap after breadcrumb item
Diffstat (limited to 'layouts/partials')
| -rw-r--r-- | layouts/partials/components/breadcrumbs.html | 11 |
1 files 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; + } } } } |
