mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-01 02:37:05 +00:00
i18n: Use correct direction for collapse Table of Contents
Collapse Table of Contents has incorrect direction for RTL, this fixes it. Bug: T309478 Change-Id: I43f2d225aed7c3a74e35f8e72c1e261b39af9737
This commit is contained in:
parent
8be6a96b7c
commit
aebd782d75
|
@ -117,7 +117,6 @@
|
||||||
width: @toggle-icon-size; // ~22px @ 12
|
width: @toggle-icon-size; // ~22px @ 12
|
||||||
height: @toggle-icon-size;
|
height: @toggle-icon-size;
|
||||||
font-size: 0.75em; // reduces size of toggle icon to 12px @ 16
|
font-size: 0.75em; // reduces size of toggle icon to 12px @ 16
|
||||||
transform: rotate( -90deg );
|
|
||||||
transition: @transition-duration-base;
|
transition: @transition-duration-base;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -126,6 +125,14 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.client-js body.ltr .sidebar-toc .sidebar-toc-toggle {
|
||||||
|
transform: rotate( -90deg );
|
||||||
|
}
|
||||||
|
|
||||||
|
.client-js body.rtl .sidebar-toc .sidebar-toc-toggle {
|
||||||
|
transform: rotate( 90deg );
|
||||||
|
}
|
||||||
|
|
||||||
@media ( min-width: @width-breakpoint-desktop ) {
|
@media ( min-width: @width-breakpoint-desktop ) {
|
||||||
.sidebar-toc {
|
.sidebar-toc {
|
||||||
display: block;
|
display: block;
|
||||||
|
|
Loading…
Reference in a new issue