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:
CodeWhale BotandClaude Opus 5.5 committed 2026-09-25 12:11:50 -07:00
1 parent abb648579e
commit 50d9d492c6
1 file changed
+4
+4
View File
@@ -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); }