fix breadcrumbs on edit page
This commit is contained in:
@@ -457,11 +457,12 @@
|
||||
}
|
||||
|
||||
.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-size: 0.875rem;
|
||||
gap: 0;
|
||||
font-weight: 500;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0;
|
||||
text-transform: none;
|
||||
}
|
||||
@@ -508,6 +509,7 @@
|
||||
.westgate-wiki .wiki-breadcrumb-trail__action {
|
||||
display: inline-flex;
|
||||
letter-spacing: 0;
|
||||
padding-left: 12px;
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
|
||||
@@ -20,6 +20,11 @@ function ruleHasDeclaration(selector, declaration) {
|
||||
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)",
|
||||
"font-family: var(--wg-font-display)",
|
||||
|
||||
Reference in New Issue
Block a user