Commit 9135926a by sg00dwin

Prevent double scrollbars when lots of options within ui-select on bind form

Fixes https://github.com/openshift/origin-web-console/issues/1814
parent de591ee1
...@@ -6,6 +6,13 @@ ...@@ -6,6 +6,13 @@
.application-select { .application-select {
margin-top: 10px; margin-top: 10px;
padding-left: 20px; padding-left: 20px;
// Fixes bug https://github.com/openshift/origin-web-console/issues/1814
.ui-select-bootstrap > .ui-select-choices {
max-height: 100px;
@media(min-width: @screen-sm-min) {
max-height: 170px;
}
}
} }
.bind-description { .bind-description {
......
...@@ -25,6 +25,14 @@ ...@@ -25,6 +25,14 @@
margin-top: 10px; margin-top: 10px;
padding-left: 20px; padding-left: 20px;
} }
.bind-form .application-select .ui-select-bootstrap > .ui-select-choices {
max-height: 100px;
}
@media (min-width: 768px) {
.bind-form .application-select .ui-select-bootstrap > .ui-select-choices {
max-height: 170px;
}
}
.bind-form .bind-description { .bind-form .bind-description {
padding-left: 20px; padding-left: 20px;
} }
......
...@@ -6,6 +6,13 @@ ...@@ -6,6 +6,13 @@
.application-select { .application-select {
margin-top: 10px; margin-top: 10px;
padding-left: 20px; padding-left: 20px;
// Fixes bug https://github.com/openshift/origin-web-console/issues/1814
.ui-select-bootstrap > .ui-select-choices {
max-height: 100px;
@media(min-width: @screen-sm-min) {
max-height: 170px;
}
}
} }
.bind-description { .bind-description {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment