Skip to content

Commit

Permalink
Add explicit text-align: start in places to ensure rtl version is cor…
Browse files Browse the repository at this point in the history
…rectly aligned
  • Loading branch information
kommunarr committed Aug 28, 2023
1 parent d4109a7 commit e855b48
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
-webkit-user-select: none;
user-select: none;
margin-inline-start: 2%;
text-align: start;
}

:deep(.switchGrid) {
Expand Down
1 change: 1 addition & 0 deletions src/renderer/components/side-nav/side-nav.css
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
margin-inline-start: 40px;
overflow: hidden;
word-break: break-word;
text-align: start;
}

.navChannel .navLabel {
Expand Down
1 change: 1 addition & 0 deletions src/renderer/scss-partials/_ft-list-item.scss
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ $watched-transition-duration: 0.5s;
grid-area: infoLine;
margin-block-start: 5px;
overflow-wrap: anywhere;
text-align: start;

@include is-sidebar-item {
font-size: 12px;
Expand Down
4 changes: 4 additions & 0 deletions src/renderer/themes.css
Original file line number Diff line number Diff line change
Expand Up @@ -923,6 +923,10 @@ body {
--red-500: #f44336;
}

body p, body a {
text-align: start;
}

#app {
color: var(--primary-text-color);
background-color: var(--bg-color);
Expand Down

0 comments on commit e855b48

Please sign in to comment.