Fix one pixel offset on dropdown menu (#8374)

This commit is contained in:
Luke Heath 2022-10-20 16:34:32 -05:00 committed by GitHub
parent 3f3c0b34c4
commit 428b3958ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 8 deletions

View File

@ -34,6 +34,7 @@
top: 36px;
border-radius: 6px;
padding-right: 0;
margin: 0;
}
.Select-control {

View File

@ -46,7 +46,6 @@
&.dropdown__select {
border: 1px solid $ui-fleet-blue-15;
border-radius: $border-radius;
height: 40px;
&:hover {
box-shadow: none;
border: 1px solid $core-vibrant-blue;
@ -55,6 +54,7 @@
.Select-control {
background-color: $ui-light-grey;
border: 0;
border-radius: $border-radius;
.Select-value {
font-size: $small;
background-color: $ui-off-white;
@ -137,6 +137,9 @@
margin-left: -4px;
border: none;
}
.Select-control {
border-radius: $border-radius;
}
}
:hover {
.Select-arrow {
@ -172,11 +175,10 @@
.Select-menu-outer {
box-shadow: 0 4px 10px rgba(52, 59, 96, 0.15);
border-radius: 0 0 $border-radius $border-radius;
z-index: 6;
overflow: hidden;
border: 0;
margin: 0;
margin: 1px 0 0;
padding: $pad-small;
}
@ -276,8 +278,4 @@
padding: 0 0 0 10px;
}
}
}
// .is-focused {
// border: 1px solid $core-vibrant-blue;
// }
}