Fix Breadcrumb Trail widget pixel misalignment at non-integer UI scaling
This commit is contained in:
parent
c574f58ecd
commit
df0c9dcba2
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue