File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 186186 padding : 10px !important ;
187187}
188188
189- /* Riduzione altezza textarea */
190- .card-body textarea .form-control {
189+ /* Riduzione altezza textarea (escluse le query) */
190+ .card-body textarea .form-control : not ([ name = "options" ]) : not ([ name = "options2" ]) {
191191 height : 80px !important ;
192192 min-height : 80px ;
193193}
194194
195+ /* Stile specifico per le textarea delle query */
196+ .card-body textarea .form-control [name = "options" ],
197+ .card-body textarea .form-control [name = "options2" ] {
198+ min-height : 120px ;
199+ height : auto;
200+ resize : vertical;
201+ }
202+
195203/* Stile per i tooltip */
196204.tip {
197205 cursor : help;
Original file line number Diff line number Diff line change @@ -181,6 +181,15 @@ $(document).ready(function() {
181181 formatQuery ( ) ;
182182 } ) ;
183183
184+ // Forza l'aggiornamento dell'autosize per le textarea delle query
185+ setTimeout ( function ( ) {
186+ $ ( 'textarea[name="options"], textarea[name="options2"]' ) . each ( function ( ) {
187+ if ( typeof autosize !== 'undefined' ) {
188+ autosize . update ( this ) ;
189+ }
190+ } ) ;
191+ } , 100 ) ;
192+
184193 // Aggiungi il pulsante "Seleziona tutti" accanto alle label dei gruppi
185194 addSelectAllButtons ( ) ;
186195
You can’t perform that action at this time.
0 commit comments