Fix Breadcrumb Trail widget pixel misalignment at non-integer UI scaling

This commit is contained in:
Keavon Chambers 2026-02-15 00:16:16 -08:00
parent c574f58ecd
commit df0c9dcba2
1 changed files with 12 additions and 3 deletions

View File

@ -30,17 +30,26 @@
border-top-left-radius: 0;
border-bottom-left-radius: 0;
&::before {
&::before,
&::after {
content: "";
position: absolute;
top: 0;
left: -4px;
width: 0;
height: 0;
border-style: solid;
border-width: 12px 0 12px 4px;
border-color: var(--button-background-color) var(--button-background-color) var(--button-background-color) transparent;
}
&::before {
top: 0;
border-width: 24px 0 0 8px;
}
&::after {
bottom: 0;
border-width: 0 0 24px 8px;
}
}
&:not(:last-of-type) {