From 3d774a02cbd922cc93ccd147947003f09b601f8a Mon Sep 17 00:00:00 2001 From: Paul Clarke Date: Wed, 21 Sep 2016 19:52:00 +1200 Subject: [PATCH] Chosen no longer nested within .field --- admin/client/src/styles/legacy/_forms.scss | 34 +++++++++++----------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/admin/client/src/styles/legacy/_forms.scss b/admin/client/src/styles/legacy/_forms.scss index a3e65291c..13e3f4dc5 100644 --- a/admin/client/src/styles/legacy/_forms.scss +++ b/admin/client/src/styles/legacy/_forms.scss @@ -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%); }