Tweak dropdown formatting
This commit is contained in:
parent
11496a133c
commit
a97ee591e5
|
@ -295,6 +295,9 @@ label {
|
|||
.js-Dropdown-title {
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
position: relative;
|
||||
z-index: 999;
|
||||
padding: 2px 6px; /* Needs additional padding to match <select> */
|
||||
}
|
||||
.js-Dropdown-list {
|
||||
background: #fff;
|
||||
|
@ -304,11 +307,11 @@ label {
|
|||
box-sizing: border-box;
|
||||
display: none;
|
||||
list-style: none;
|
||||
margin: -2px 0 0 0;
|
||||
margin: -5px 0 0 0;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
min-width: 100%;
|
||||
z-index: 999;
|
||||
z-index: 998;
|
||||
max-height: 80vh;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
@ -331,3 +334,6 @@ label {
|
|||
padding: 2px 3px;
|
||||
line-height: 1.3;
|
||||
}
|
||||
.js-Dropdown-optgroup:first-child {
|
||||
padding-top: 4px;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue