fix input height to match with react-select (#3852)

This commit is contained in:
Grace Guo
2017-11-16 11:50:32 -08:00
committed by GitHub
parent e65aba3c46
commit fa35d7d2f4
2 changed files with 16 additions and 16 deletions

View File

@@ -1,5 +1,6 @@
@import "~react-select/less/select.less";
@select-primary-color: black;
@select-input-height: 30px;
// imports
@import "~react-select/less/control.less";
@@ -8,6 +9,21 @@
@import "~react-select/less/multi.less";
@import "~react-select/less/spinner.less";
.Select--multi {
.Select-multi-value-wrapper {
display: flex;
flex-wrap: wrap;
}
.Select-value {
margin: 2px;
}
.Select-input > input {
width: 100px;
}
}
.VirtualSelectGrid {
z-index: 1;
}

View File

@@ -356,22 +356,6 @@ iframe {
color: transparent;
}
// overwrite react-select css
.Select--multi {
.Select-multi-value-wrapper {
display: flex;
flex-wrap: wrap;
}
.Select-value {
height: 23px;
}
.Select-input > input {
width: 100px;
}
}
.dimmed {
opacity: 0.5;
}