From ff73b367800bbb992fec100acb3e8f03f0ca0bc5 Mon Sep 17 00:00:00 2001 From: Moh'd Khier Abualruz Date: Fri, 19 Aug 2022 13:02:45 +0200 Subject: [PATCH] [RTL, TOC] The arrow before collapsible sections in sidebar is clipped * Temp solution for quick fix * Full solution should be supplied by cssjanus PR shortly after Bug: T314652 Change-Id: Ic3ac53f884bc1b9bc14c951b7348e2bf263065a2 --- .../skins.vector.styles/components/TableOfContents.less | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/resources/skins.vector.styles/components/TableOfContents.less b/resources/skins.vector.styles/components/TableOfContents.less index 2148910b..c7d188d1 100644 --- a/resources/skins.vector.styles/components/TableOfContents.less +++ b/resources/skins.vector.styles/components/TableOfContents.less @@ -130,3 +130,8 @@ .client-js body.rtl .sidebar-toc .sidebar-toc-toggle { transform: rotate( 90deg ); } + +// FIXME: Can be removed when https://github.com/cssjanus/cssjanus/issues/82 is fixed and in production. +body.rtl .sidebar-toc { + padding: @sidebar-toc-vertical-padding @sidebar-toc-left-padding @sidebar-toc-vertical-padding @sidebar-toc-right-padding; +}