Skip to content

Commit

Permalink
resolve #8827 Dropdown item labels are misaligned in RTL (#8832)
Browse files Browse the repository at this point in the history
Co-authored-by: OlgaLarina <[email protected]>
  • Loading branch information
OlgaLarina and OlgaLarina authored Sep 20, 2024
1 parent c801242 commit 314787d
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/survey-core/src/common-styles/sv-list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
line-height: calcLineHeight(1.5);
cursor: pointer;
overflow: hidden;
text-align: left;
text-align: start;
text-overflow: ellipsis;
white-space: nowrap;
transition:
Expand Down
2 changes: 1 addition & 1 deletion packages/survey-core/src/default-styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1408,7 +1408,7 @@ sv-popup {
padding-inline-start: calc(2 * var(--base-unit, 8px));
cursor: pointer;
overflow: hidden;
text-align: left;
text-align: start;
text-overflow: ellipsis;
white-space: nowrap;
display: flex;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
color: $font-questiontitle-color;
white-space: normal;
width: 100%;
text-align: left;
text-align: start;
min-width: 0;

.sv-string-viewer {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
max-width: 100%;
width: auto;
height: 100%;
text-align: left;
text-align: start;
cursor: text;
pointer-events: none;
color: $foreground-light;
Expand Down
2 changes: 1 addition & 1 deletion src/default-styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1428,7 +1428,7 @@ sv-popup {
padding-inline-start: calc(2 * var(--base-unit, 8px));
cursor: pointer;
overflow: hidden;
text-align: left;
text-align: start;
text-overflow: ellipsis;
white-space: nowrap;
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/modern/blocks/sv-btn.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
font-weight: bold;
outline: none;
padding: 0.5em 2.786em 0.6em;
text-align: left;
text-align: start;
}
.sv-btn--navigation {
background-color: var(--main-color, $main-color);
Expand Down
2 changes: 1 addition & 1 deletion src/modern/blocks/sv-tagbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
max-width: 100%;
width: auto;
height: 100%;
text-align: left;
text-align: start;
cursor: text;
pointer-events: none;
color: var(--main-hover-color, $main-hover-color);
Expand Down

0 comments on commit 314787d

Please sign in to comment.