[Editor] Reduce a bit of CSS duplication for the highlight-thickness "indicators"

This commit is contained in:
Jonas Jenwald 2024-03-01 16:14:07 +01:00
parent c7e7122e25
commit e781b553cb

View File

@ -1192,7 +1192,8 @@
opacity: 0.4; opacity: 0.4;
} }
&::before { &::before,
&::after {
content: ""; content: "";
width: 8px; width: 8px;
aspect-ratio: 1; aspect-ratio: 1;
@ -1200,20 +1201,14 @@
border-radius: 100%; border-radius: 100%;
background-color: var(--example-color); background-color: var(--example-color);
} }
&::after {
width: 24px;
}
.editorParamsSlider { .editorParamsSlider {
width: unset; width: unset;
height: 14px; height: 14px;
} }
&::after {
content: "";
width: 24px;
aspect-ratio: 1;
display: block;
border-radius: 100%;
background-color: var(--example-color);
}
} }
} }
} }