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 | e7b1c79f9a22f38530ff92d82e558c5903feb371 (patch) | |
| tree | f01cdfccf3a761a4b3a96a4aff0bbe3bd1c97a1a | |
| parent | b8c1f91dea1eaff5c26d09988b27b1822723bde5 (diff) | |
fix: unwanted gap after breadcrumb item
Former-commit-id: 044b35129df00b52ea1de3587f3f233127406fc4
| -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; + } } } } |
