mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
Fix overflow of placeholder in multi-select autocompleters
This commit is contained in:
committed by
Aaron Contreras
parent
326a16074a
commit
ba6e2b4683
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user