Skip to content

Commit 007e8e3

Browse files
committed
fix: optimize padding and margin styles for RTL layout
1 parent 0f5db26 commit 007e8e3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

_sass/base/_rtl.scss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ html[dir='rtl'] {
1616
#sidebar {
1717
left: auto;
1818
right: 0;
19-
2019
border-right: none;
2120
border-left: 1px solid var(--sidebar-border-color);
2221

@@ -135,6 +134,7 @@ html[dir='rtl'] {
135134
div {
136135
margin-right: 0 !important;
137136
}
137+
138138
i {
139139
&:not(:first-child) {
140140
margin-left: 0;
@@ -154,7 +154,6 @@ html[dir='rtl'] {
154154
section {
155155
padding-left: 0;
156156
padding-right: 1rem;
157-
158157
border-left: none;
159158
border-right: 1px solid var(--main-border-color);
160159
}
@@ -346,8 +345,7 @@ html[dir='rtl'] {
346345
}
347346

348347
ul {
349-
padding-inline-start: 0;
350-
padding-inline-end: 1.75rem;
348+
padding-inline: 0 1.75rem;
351349
}
352350
}
353351

0 commit comments

Comments
 (0)