Skip to content

Commit 56a6866

Browse files
committed
fix(css): enforce LTR direction for inline code elements in admin
Fixes text rendering issues with inline code elements in the admin panel by enforcing left-to-right text direction. The change adds direction: `ltr` and `unicode-bidi`: isolate CSS properties to ensure code content displays correctly regardless of the surrounding text direction, preventing layout issues in RTL language environments. Also bumped version from `1.6.5` to `1.6.6`.
1 parent d4600b3 commit 56a6866

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

css/admin.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,11 @@ button.disabled {
438438
pointer-events: none;
439439
}
440440

441+
code {
442+
direction: ltr;
443+
unicode-bidi: isolate;
444+
}
445+
441446
.no-resize {
442447
resize: none !important;
443448
}

css/admin.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.6.5
1+
1.6.6

0 commit comments

Comments
 (0)