diff options
| author | Gaƫl Poupard <[email protected]> | 2020-12-11 14:34:20 +0100 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2020-12-14 11:11:47 +0200 |
| commit | e967ecf90021b9666bc5184f9054e7d37f9d83f4 (patch) | |
| tree | 1c284daf595b360dd45907ee5ae91b04094cd540 | |
| parent | f2b39d620c2f6fe530f2c9abaa63c603961de769 (diff) | |
| download | bootstrap-e967ecf90021b9666bc5184f9054e7d37f9d83f4.tar.xz bootstrap-e967ecf90021b9666bc5184f9054e7d37f9d83f4.zip | |
docs(cheatsheet): fix RTL sidenav arrows
| -rw-r--r-- | site/content/docs/5.0/examples/cheatsheet/cheatsheet.css | 4 | ||||
| -rw-r--r-- | site/content/docs/5.0/examples/cheatsheet/cheatsheet.rtl.css | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/site/content/docs/5.0/examples/cheatsheet/cheatsheet.css b/site/content/docs/5.0/examples/cheatsheet/cheatsheet.css index 16ffb65be..77aa0f23c 100644 --- a/site/content/docs/5.0/examples/cheatsheet/cheatsheet.css +++ b/site/content/docs/5.0/examples/cheatsheet/cheatsheet.css @@ -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%; } diff --git a/site/content/docs/5.0/examples/cheatsheet/cheatsheet.rtl.css b/site/content/docs/5.0/examples/cheatsheet/cheatsheet.rtl.css index 6d66a1d5d..c1a4a1ccc 100644 --- a/site/content/docs/5.0/examples/cheatsheet/cheatsheet.rtl.css +++ b/site/content/docs/5.0/examples/cheatsheet/cheatsheet.rtl.css @@ -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%; } |
