File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ body.casa_cases-show {
175175 background : transparent ;
176176 border : 1px solid #e5e5e5 ;
177177 border-radius : 10px ;
178- padding : 4 px ;
178+ padding : 8 px ;
179179 appearance : none ;
180180 -webkit-appearance : none ;
181181 -moz-appearance : none ;
@@ -186,6 +186,11 @@ span.select2-selection.select2-selection--single {
186186 border : none ;
187187}
188188
189+ // removes select2 dropdown default arrow
190+ .select2-selection__arrow {
191+ display : none ;
192+ }
193+
189194.select-wrapper {
190195 display : flex ;
191196 flex-direction : column ;
Original file line number Diff line number Diff line change @@ -161,7 +161,9 @@ function handleModalClose () {
161161
162162// re-initialized for setting modal as dropdownParent
163163function handleDropdownSelection ( ) {
164- $ ( '#case-selection' ) . select2 ( ) ;
164+ if ( $ ( '#case-selection' ) . hasClass ( 'select2' ) ) {
165+ $ ( '#case-selection' ) . select2 ( ) ;
166+ }
165167}
166168
167169$ ( ( ) => { // JQuery's callback for the DOM loading
You can’t perform that action at this time.
0 commit comments