Chosen no longer nested within .field

This commit is contained in:
Paul Clarke 2016-09-21 19:52:00 +12:00 committed by Ingo Schommer
parent ab4592a84a
commit 3d774a02cb

View File

@ -178,6 +178,23 @@ form.small .field, .field.small {
}
}
/* Chosen override */
.chosen-container {
width: 100%;
max-width: $input-max-width !important;
vertical-align: bottom;
.chosen-results {
padding-top: 4px;
li {
font-size: 11px;
line-height: $grid-y * 2;
padding: $grid-y / 2 $grid-x / 2;
}
}
}
.field {
// TreeDropdowns
@ -217,23 +234,6 @@ form.small .field, .field.small {
margin-top: $grid-y;
}
/* Chosen override */
.chosen-container {
width: 100%;
max-width: $input-max-width !important;
vertical-align: bottom;
.chosen-results {
padding-top: 4px;
li {
font-size: 11px;
line-height: $grid-y * 2;
padding: $grid-y / 2 $grid-x / 2;
}
}
}
.chosen-container-active .chosen-single {
border: 1px solid lighten($color-medium-separator, 10%);
}