Fix overflow of placeholder in multi-select autocompleters

This commit is contained in:
Henriette Darge
2024-07-11 08:46:26 +02:00
committed by Aaron Contreras
parent 326a16074a
commit ba6e2b4683
2 changed files with 6 additions and 6 deletions
@@ -11,9 +11,3 @@
// userSelectedWarning userSelectedWarning userSelectedWarning
//
grid-column-gap: 0.5rem
// Fix overflow on mobile by providing a max width to the input
//
// We subtract the width and right padding of the dropdown arrow
.ng-placeholder
max-width: calc(100% - 25px - 5px)
@@ -130,6 +130,12 @@ div.autocomplete
.ng-value-label
display: initial !important
.ng-placeholder
// Fix overflow by providing a max width to the input
//
// We subtract the width and right padding of the dropdown arrow
max-width: calc(100% - 25px - 5px)
// Ensure dropdown is above modals
.ng-dropdown-panel
z-index: 9500 !important