fix breadcrumbs on edit page

This commit is contained in:
2026-05-21 20:42:27 +02:00
parent 9cd212876c
commit 30f1768406
2 changed files with 9 additions and 2 deletions
+4 -2
View File
@@ -457,11 +457,12 @@
} }
.westgate-wiki .wiki-breadcrumb-trail { .westgate-wiki .wiki-breadcrumb-trail {
color: #b9b2a6; --wiki-breadcrumb-color: color-mix(in srgb, var(--wg-text-muted) 68%, transparent);
color: var(--wiki-breadcrumb-color);
font-family: var(--wg-font-display); font-family: var(--wg-font-display);
font-size: 0.875rem; font-size: 0.875rem;
gap: 0; gap: 0;
font-weight: 500; font-weight: 600;
letter-spacing: 0; letter-spacing: 0;
text-transform: none; text-transform: none;
} }
@@ -508,6 +509,7 @@
.westgate-wiki .wiki-breadcrumb-trail__action { .westgate-wiki .wiki-breadcrumb-trail__action {
display: inline-flex; display: inline-flex;
letter-spacing: 0; letter-spacing: 0;
padding-left: 12px;
text-transform: none; text-transform: none;
} }
+5
View File
@@ -20,6 +20,11 @@ function ruleHasDeclaration(selector, declaration) {
return false; return false;
} }
assert(
ruleHasDeclaration(".westgate-wiki .wiki-breadcrumb-trail__action", "padding-left: 12px"),
"Wiki edit action should keep the same left-side separator spacing as breadcrumb items"
);
[ [
"--wiki-breadcrumb-color: color-mix(in srgb, var(--wg-text-muted) 68%, transparent)", "--wiki-breadcrumb-color: color-mix(in srgb, var(--wg-text-muted) 68%, transparent)",
"font-family: var(--wg-font-display)", "font-family: var(--wg-font-display)",