Skip to content

Commit

Permalink
fix(NcSelect): Selected options should not overflow the container
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
  • Loading branch information
susnux committed Feb 15, 2023
1 parent 61409e1 commit 319a9f8
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/components/NcSelect/NcSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1007,6 +1007,23 @@ body {
}
}
}
// Hide search from dom if unused to prevent unneeded flex wrap
.vs__search[readonly] {
display: none;
}
/**
* Fix overlow of selected options
* 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 {
min-width: 0;
}
}
}
.vs__dropdown-menu {
Expand Down

0 comments on commit 319a9f8

Please sign in to comment.