fix(rtl): fix file viewer Monaco direction + remove unrelated files
- Add direction: ltr to .monaco-viewer so the Monaco editor renders correctly when the document inherits dir="rtl" from Hebrew locale - Replace physical margin-left with logical margin-inline-start on the refresh button in FilesTab - Remove manifest.json (unrelated to RTL work, flagged in PR #229) - Remove docs/rtl-hebrew-deployment.md (no longer needed) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
committed by
Shantur Rathore
parent
88da377795
commit
0874f78ccf
@@ -175,7 +175,7 @@ const FilesTab: Component<FilesTabProps> = (props) => {
|
||||
title={props.t("instanceShell.rightPanel.actions.refresh")}
|
||||
aria-label={props.t("instanceShell.rightPanel.actions.refresh")}
|
||||
disabled={props.browserLoading()}
|
||||
style={{ "margin-left": "auto" }}
|
||||
style={{ "margin-inline-start": "auto" }}
|
||||
onClick={() => props.onRefresh()}
|
||||
>
|
||||
<RefreshCw class={`h-4 w-4${props.browserLoading() ? " animate-spin" : ""}`} />
|
||||
|
||||
@@ -334,6 +334,7 @@
|
||||
.monaco-viewer {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
.file-viewer-empty {
|
||||
|
||||
Reference in New Issue
Block a user