Skip to content

Commit

Permalink
PR: CREATOR: Ranking Items Wrap Issues (#5782)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-kurmanov authored Sep 23, 2024
1 parent 42871b5 commit 2403cde
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 1 deletion.
12 changes: 11 additions & 1 deletion packages/survey-creator-core/src/components/creator.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,22 @@ survey-creator,
}
}

survey-creator {
survey-creator,
.svc-creator {
.sv-drag-drop-choices-shortcut {
.sv-drag-drop-choices-shortcut__content {
background: var(--ctr-survey-radio-button-group-item-background-color-floating, $background);

.sd-item__decorator {}

.svc-item-value__item {
overflow: hidden;

.sv-string-viewer,
.sv-string-editor {
white-space: nowrap;
}
}
}
}
}
Expand Down
18 changes: 18 additions & 0 deletions packages/survey-creator-core/src/components/item-value.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
flex-shrink: 0;
min-width: 72px;
justify-content: flex-end;
align-self: flex-start;
}

.svc-item-value-controls__button {
Expand Down Expand Up @@ -198,6 +199,12 @@
}
}

.sv-drag-drop-choices-shortcut {
.sv-ranking-item__text {
overflow: hidden;
}
}

.svc-item-value--ghost {
.svc-item-value__ghost {
display: block;
Expand All @@ -206,6 +213,17 @@
.svc-item-value-controls {
visibility: hidden;
}

.svc-item-value__item {
display: none;
}

height: calcSize(6);

.sv-string-viewer,
.sv-string-editor {
white-space: unset;
}
}

.svc-item-value--movedown {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
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 2403cde

Please sign in to comment.