Refactor styles to use logical properties for positioning (#23944)
This commit is contained in:
parent
88fc04d3d7
commit
babd86e594
15 changed files with 279 additions and 571 deletions
|
@ -28,14 +28,14 @@ $fluid-breakpoint: $maximum-width + 20px;
|
|||
position: relative;
|
||||
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
||||
padding: 1em 1.75em;
|
||||
padding-left: 3em;
|
||||
padding-inline-start: 3em;
|
||||
font-weight: 500;
|
||||
counter-increment: list-counter;
|
||||
|
||||
&::before {
|
||||
content: counter(list-counter);
|
||||
position: absolute;
|
||||
left: 0;
|
||||
inset-inline-start: 0;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
background: $highlight-text-color;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue