Skip to content

Commit

Permalink
fix: Stop Select changing height on focus
Browse files Browse the repository at this point in the history
  • Loading branch information
hxltrhuxze committed Mar 8, 2020
1 parent 851b05e commit a3d1f1f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/css-framework/src/components/_select.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
@use "../abstracts/functions" as f;

.rn-select {
margin: f.spacing("3") 0;
position: relative;

.rn-select__control--is-focused,
.rn-select__control:hover {
border-color: f.color("action", "600");
box-shadow: 0 0 0 1px f.color("action", "600");
&.rn-select__control--menu-is-open {
border-bottom-color: transparent;
}
}

.rn-select__value-container {
Expand All @@ -16,7 +19,7 @@
.rn-select__control--menu-is-open {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
border-bottom: 0;
border-bottom-color: transparent;
}

.rn-select__dropdown-indicator {
Expand Down

0 comments on commit a3d1f1f

Please sign in to comment.