Standardize vue-select custom.css styles
This commit is contained in:
@@ -78,10 +78,41 @@ th {
|
||||
}
|
||||
|
||||
.v-select {
|
||||
min-width: auto;
|
||||
position: relative;
|
||||
-ms-flex: 1 1 auto;
|
||||
flex: 1 1 auto;
|
||||
margin-bottom: 0;
|
||||
font-size: 0.9rem;
|
||||
border-radius: 0.25rem;
|
||||
|
||||
.vs__selected-options {
|
||||
// do not allow growing
|
||||
width: 0;
|
||||
}
|
||||
|
||||
.vs__selected {
|
||||
display: block;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.vs__search {
|
||||
margin-top: 0.375rem;
|
||||
}
|
||||
|
||||
&:not(.vs--open) .vs__selected + .vs__search {
|
||||
// force this to not use any space
|
||||
// we still need it to be rendered for the focus
|
||||
width: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: none;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.vs__dropdown-toggle {
|
||||
padding: 0.375rem;
|
||||
padding-top: 0;
|
||||
|
||||
Reference in New Issue
Block a user