Fix typedInput styling and allow option list to scroll

This commit is contained in:
Nick O'Leary
2019-05-16 10:28:01 +01:00
parent 2bf9a353a6
commit 3a257e1e00
2 changed files with 36 additions and 15 deletions

View File

@@ -67,15 +67,9 @@
vertical-align: middle;
color: $form-text-color;
i.red-ui-typedInput-icon {
position: relative;
top: -3px;
margin-left: 1px;
margin-right: 2px;
margin-top: 1px;
vertical-align: middle;
&.fa-ellipsis-h {
top: -1px;
}
}
&.disabled {
cursor: default;
@@ -107,6 +101,12 @@
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
&:before {
content:'';
display: inline-block;
height: 100%;
vertical-align: middle;
}
}
button.red-ui-typedInput-option-expand {
@@ -135,15 +135,21 @@
padding: 0 5px 0 8px;
i.red-ui-typedInput-icon {
margin-right: 4px;
margin-top: 4px;
}
}
.red-ui-typedInput-option-caret {
top: 0;
position: absolute;
right: 0;
bottom: 0;
width: 17px;
padding-left: 6px;
&:before {
content:'';
display: inline-block;
height: 100%;
vertical-align: middle;
}
}
&:focus {
box-shadow: none;
@@ -159,6 +165,8 @@
font-size: $primary-font-size;
position: absolute;
max-height: 350px;
overflow-y: auto;
border: 1px solid $primary-border-color;
background: $secondary-background;
z-index: 2000;