Skip to content

Commit 1947a37

Browse files
committed
fix: remove unnecessary padding adjustments for list elements in RTL styles
1 parent a98ad38 commit 1947a37

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

_sass/base/_rtl.scss

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,6 @@ html[dir='rtl'] {
370370
ul {
371371
&:not([class]),
372372
&.task-list {
373-
padding-inline-end: 2.5rem; /* Increased padding for better marker alignment */
374373
margin-right: 0;
375374

376375
li {
@@ -382,18 +381,10 @@ html[dir='rtl'] {
382381
text-align: right;
383382
}
384383
}
385-
386-
ol,
387-
ul {
388-
padding-inline-end: 1.5rem; /* Adjusted for nested lists */
389-
}
390384
}
391385
}
392386

393387
ul.task-list {
394-
padding-inline-start: 0;
395-
padding-inline-end: 1.5rem;
396-
397388
li {
398389
padding-left: 0;
399390
padding-right: 0;
@@ -403,10 +394,6 @@ html[dir='rtl'] {
403394
margin-left: 0;
404395
margin-right: 0.25rem;
405396
}
406-
407-
ul {
408-
padding-inline: 0 1.75rem;
409-
}
410397
}
411398

412399
input[type='checkbox'] {

0 commit comments

Comments
 (0)