RTL updates (#2416)

* Update a bunch of icons to be mirrored in RTL

* Fix RTL layout issues in in zen mode and collaboration

* Small change to the shortcuts dialog to make isRTL unnecessary

* Tweaks to alignment in RTL
This commit is contained in:
Jed Fox 2020-11-25 18:21:33 -05:00 committed by GitHub
parent fec48060f7
commit 8d479ab238
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 63 additions and 28 deletions

View file

@ -142,16 +142,24 @@
transform: translate(-999px, 0);
}
&.App-menu_bottom--transition-left {
:root[dir="ltr"] &.App-menu_bottom--transition-left {
transform: translate(-92px, 0);
}
:root[dir="rtl"] &.App-menu_bottom--transition-left {
transform: translate(92px, 0);
}
}
.disable-zen-mode {
height: 30px;
position: absolute;
bottom: 10px;
right: 15px;
[dir="ltr"] & {
right: 15px;
}
[dir="rtl"] & {
left: 15px;
}
font-size: 10px;
padding: 10px;
font-weight: 500;