Skip to content

Commit 4514be8

Browse files
Remove unnecessary horizontal scroll in RTL UI (#3263)
1 parent 1cfdd5f commit 4514be8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/SIL.XForge.Scripture/ClientApp/src/styles.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ html {
2525
body {
2626
margin: 0;
2727
font-family: Roboto, sans-serif;
28+
29+
// prevents a horizontal scroll bar in RTL mode
30+
.cdk-visually-hidden {
31+
inset-inline-start: 0;
32+
}
2833
}
2934

3035
as-split.is-disabled > .as-split-gutter .as-split-gutter-icon {

0 commit comments

Comments
 (0)