Skip to content

Commit

Permalink
fix input height to match with react-select (#3852)
Browse files Browse the repository at this point in the history
  • Loading branch information
Grace Guo authored Nov 16, 2017
1 parent e65aba3 commit fa35d7d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 16 additions & 0 deletions superset/assets/stylesheets/react-select/select.less
Original file line number Diff line number Diff line change
@@ -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";
Expand All @@ -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;
}
Expand Down
16 changes: 0 additions & 16 deletions superset/assets/stylesheets/superset.less
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit fa35d7d

Please sign in to comment.