MDL-68749 theme: Fix bootstrap toggle switches in RTL layout

Co-authored-by: Bas Brands <[email protected]>
This commit is contained in:
Michael Hawkins
2020-11-03 15:24:48 +08:00
co-authored by Bas Brands
parent 3b0d958065
commit 098f09b638
3 changed files with 11 additions and 1 deletions
+5 -1
View File
@@ -23,4 +23,8 @@
left: 0;
text-align: right;
}
*/
*/
.dir-rtl .custom-switch .custom-control-input:checked ~ .custom-control-label::after {
transform: translateX(-($custom-switch-width - $custom-control-indicator-size));
}
+3
View File
@@ -9630,6 +9630,9 @@ input[disabled] {
text-align: right;
}
*/
.dir-rtl .custom-switch .custom-control-input:checked ~ .custom-control-label::after {
transform: translateX(-0.9375rem); }
/* core.less */
#region-main {
overflow-x: auto;
+3
View File
@@ -9834,6 +9834,9 @@ input[disabled] {
text-align: right;
}
*/
.dir-rtl .custom-switch .custom-control-input:checked ~ .custom-control-label::after {
transform: translateX(-0.75rem); }
/* core.less */
#region-main {
overflow-x: auto;