ltr, rtl sidebar UI bug fix

This commit is contained in:
zzossig 2020-01-31 19:01:45 +09:00
parent c8288fc506
commit 18b977b331
2 changed files with 15 additions and 4 deletions

View File

@ -6,16 +6,27 @@
&__sidebar {
&.l {
margin-left: 1rem;
}
&.r {
margin-right: 1rem;
&[data-dir="rtl"] {
margin-left: 0;
margin-right: 1rem;
}
&[data-dir="ltr"] {
margin-left: 1rem;
margin-right: 0;
}
}
&[data-dir="rtl"] {
margin-left: 1rem;
margin-right: 0;
}
&[data-dir="ltr"] {
margin-left: 0;
margin-right: 1rem;
}
}
&__header {