| @@ -2,48 +2,32 @@ | ||
| 2 | 2 | * Additional Select2 styling to override WordPress styling defaults that |
| 3 | 3 | * affect the layout of a Select2 dropdown. |
| 4 | 4 | */ |
| 5 | 5 | .convertkit-select2-container .select2-container .select2-selection--single { |
| 6 | - height: 32px; | |
| 6 | + height: 30px; | |
| 7 | 7 | } |
| 8 | - | |
| 9 | 8 | .convertkit-select2-container .select2-container--default .select2-selection--single .select2-selection__rendered { |
| 10 | - line-height: 32px; | |
| 9 | + line-height: 30px; | |
| 11 | 10 | } |
| 12 | - | |
| 13 | 11 | .convertkit-select2-container .select2-search--dropdown .select2-search__field { |
| 14 | 12 | line-height: 1; |
| 15 | 13 | min-height: 24px; |
| 16 | 14 | } |
| 17 | - | |
| 18 | 15 | .convertkit-select2-container li.select2-results__option { |
| 19 | 16 | margin: 0; |
| 20 | 17 | } |
| 21 | 18 | |
| 22 | -/* Align select and refresh button onto a single row */ | |
| 23 | -.convertkit-select2-container-grid { | |
| 24 | - display: grid; | |
| 25 | - grid-template-columns: auto 36px; | |
| 26 | - column-gap: 10px; | |
| 27 | - align-items: end; | |
| 28 | -} | |
| 29 | - | |
| 30 | 19 | /** |
| 31 | - * Force width of Select2 dropdowns, as using JS options | |
| 32 | - * dropdownAutoWidth=true and width='auto' result in incorrect | |
| 33 | - * layout on some older browsers and our tests fail. | |
| 20 | + * Force width of Select2 dropdowns, as using JS options dropdownAutoWidth=true and width='auto' | |
| 21 | + * result in incorrect layout on some older browsers and our tests fail. | |
| 34 | 22 | */ |
| 35 | 23 | .convertkit-select2-container select + .select2-container { |
| 36 | 24 | width: 50% !important; |
| 37 | 25 | min-width: 350px !important; |
| 38 | 26 | } |
| 39 | - | |
| 40 | -.convertkit-select2-container-grid select + .select2-container { | |
| 41 | - width: 100% !important; | |
| 42 | -} | |
| 43 | - | |
| 44 | 27 | @media screen and (max-width: 782px) { |
| 45 | - | |
| 46 | 28 | .convertkit-select2-container select + .select2-container { |
| 47 | 29 | width: 100% !important; |
| 30 | + font-size: 16px; | |
| 31 | + line-height: 2; | |
| 48 | 32 | } |
| 49 | 33 | } |