summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-04-30 15:37:06 +0800
committerEltrac <hi@guhub.cn>2025-04-30 15:37:06 +0800
commite7b1c79f9a22f38530ff92d82e558c5903feb371 (patch)
treef01cdfccf3a761a4b3a96a4aff0bbe3bd1c97a1a
parentb8c1f91dea1eaff5c26d09988b27b1822723bde5 (diff)
fix: unwanted gap after breadcrumb item
Former-commit-id: 044b35129df00b52ea1de3587f3f233127406fc4
-rw-r--r--layouts/partials/components/breadcrumbs.html11
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;
+ }
}
}
}