[37404] Remove fixed height of ng-select container (#9307)

Instead, set min-height to allow minimum and set the placeholder length
to 2rem to match the height when its empty.

This still allows the height to expand for multiple options

https://community.openproject.org/wp/37404
pull/9316/head
Oliver Günther 3 years ago committed by GitHub
parent 2bf74725b2
commit 42fa4eb9ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      frontend/src/global_styles/vendor/_ngselect.sass

@ -5,4 +5,7 @@
border-radius: 2px
.ng-select .ng-value-container
height: 2rem
min-height: 2rem
.ng-placeholder
line-height: 2rem

Loading…
Cancel
Save