mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Chosen no longer nested within .field
This commit is contained in:
parent
ab4592a84a
commit
3d774a02cb
@ -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%);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user