]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
docs(cheatsheet): fix RTL sidenav arrows
authorGaël Poupard <gael.poupard@orange.com>
Fri, 11 Dec 2020 13:34:20 +0000 (14:34 +0100)
committerXhmikosR <xhmikosr@gmail.com>
Mon, 14 Dec 2020 09:11:47 +0000 (11:11 +0200)
site/content/docs/5.0/examples/cheatsheet/cheatsheet.css
site/content/docs/5.0/examples/cheatsheet/cheatsheet.rtl.css

index 16ffb65be214b49f627e7af97e6c72223d268919..77aa0f23c61d4b87230af93e3d8d0b55bb82fba2 100644 (file)
@@ -63,6 +63,10 @@ body {
   line-height: 0;
   content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
   transition: transform .35s ease;
+
+  /* rtl:raw:
+  transform: rotate(180deg) translateX(-2px);
+  */
   transform-origin: .5em 50%;
 }
 
index 6d66a1d5d41c4f3779fdeaa212dacb818df74bb6..c1a4a1ccce32066705b214cbd82ad4a41bad167f 100644 (file)
@@ -63,6 +63,7 @@ body {
   line-height: 0;
   content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
   transition: transform .35s ease;
+  transform: rotate(180deg) translateX(-2px);
   transform-origin: .5em 50%;
 }