Skip to content

Commit

Permalink
Merge pull request #3811 from nextcloud/fix/ncselect-nowrap
Browse files Browse the repository at this point in the history
fix(NcSelect): Do not squash selected items with `no-wrap` set
  • Loading branch information
mejo- authored Feb 22, 2023
2 parents 11162fc + f31f0bc commit f30342a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/components/NcSelect/NcSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1022,12 +1022,15 @@ body {
* There is an upstream pull request, if it is merged and released remove this fix
* https://github.com/sagalbot/vue-select/pull/1756
*/
.vs__selected-options {
min-width: 0;
.vs__selected {
&:not(.select--no-wrap) {
.vs__selected-options {
min-width: 0;
.vs__selected {
min-width: 0;
}
}
}

&.vs--single {
&.vs--loading,
&.vs--open {
Expand Down

0 comments on commit f30342a

Please sign in to comment.