mirror of
https://github.com/codewhale-hq/Codewhale.git
synced 2026-11-08 08:04:25 -10:00
fix(web): keep commands left-to-right on RTL pages
Code blocks isolate as LTR so an install command on /ar reads as typed. Checked on a static /ar render at 390 and 1280; design and ocean contract tests pass (14). Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01R9rJEoMuUSRWznU6QjkE7h
This commit is contained in:
1 parent
abb648579e
commit
50d9d492c6
1 file changed
+4
@@ -159,6 +159,10 @@ pre.code-block {
|
||||
white-space: pre;
|
||||
tab-size: 2;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
/* Commands read left to right in every locale, including RTL pages. */
|
||||
direction: ltr;
|
||||
text-align: left;
|
||||
unicode-bidi: isolate;
|
||||
}
|
||||
pre.code-block .prompt,
|
||||
pre.code-block .comment { color: var(--muted); }
|
||||
|
||||
Reference in new issue
Block a user