Skip to content

Commit

Permalink
PR: Ranking long item text (#7107)
Browse files Browse the repository at this point in the history
* work for the surveyjs/service#1486

* work for the surveyjs/service#1486 (updated screen)
  • Loading branch information
dmitry-kurmanov committed Oct 10, 2023
1 parent 160ed62 commit 49dc3e1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/common-styles/sv-ranking.scss
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,10 @@
}

.sv-ranking--select-to-rank-horizontal {
.sv-ranking__container {
max-width: calc(50% - 1px);
}

.sv-ranking__containers-divider {
width: 1px;
}
Expand Down
1 change: 1 addition & 0 deletions src/dragdrop/ranking-choices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export class DragDropRankingChoices extends DragDropChoices {
z-index: 10000;
border-radius: calc(12.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
min-width: 100px;
max-width: 400px;
box-shadow: var(--sjs-shadow-medium, 0px 2px 6px 0px rgba(0, 0, 0, 0.1)), var(--sjs-shadow-large, 0px 8px 16px 0px rgba(0, 0, 0, 0.1));
background-color: var(--sjs-general-backcolor, var(--background, #fff));
font-family: var(--font-family, 'Open Sans');
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 49dc3e1

Please sign in to comment.