mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
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:
parent
fec48060f7
commit
8d479ab238
6 changed files with 63 additions and 28 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue