feat(ui): add dynamic RTL layout support
- Sync document.documentElement.dir dynamically from I18nProvider based on selected locale (RTL for 'he', LTR for all others) - Flip MUI Drawer anchor props (left/right) reactively via isRTL() - Convert ~60 physical CSS directional properties to logical equivalents (border-inline-start/end, inset-inline-start/end, margin-inline-*, etc.) - Add [dir="rtl"] overrides for translateX animations (sidebar slide, resize handle hit-area extensions, settings nav selection nudge) - Preserve intentional direction:rtl + text-align:left truncation tricks (file path display in .truncate-start and .files-tab-selected-path) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
committed by
Shantur Rathore
parent
d9d56d77bc
commit
13596e8082
@@ -124,7 +124,7 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--space-md);
|
||||
text-align: left;
|
||||
text-align: start;
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: var(--text-primary);
|
||||
|
||||
Reference in New Issue
Block a user