Skip to content

Commit 9c28f25

Browse files
chore: add styling to textarea for improved layout and usability
1 parent bfb0101 commit 9c28f25

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

bluem.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1297,9 +1297,11 @@ function bluem_woocommerce_settings_render_input( $field ) {
12971297
?>
12981298
<label>
12991299
<textarea
1300-
<?php foreach ( $attrs as $akey => $aval ) {
1301-
echo esc_html( "$akey='" . esc_attr( $aval ) . "' " );
1302-
} ?>><?php echo( isset( $values[ $key ] ) ? esc_attr( $values[ $key ] ) : esc_attr( $field['default'] ) ); ?></textarea>
1300+
<?php foreach ( $attrs as $akey => $aval ) {
1301+
echo esc_html( "$akey='" . esc_attr( $aval ) . "' " );
1302+
} ?>
1303+
style="height: 10em; width: 100%; min-width: 300px; max-width: 600px; resize: vertical; box-sizing: border-box; line-height: 1.5;"
1304+
><?php echo( isset( $values[ $key ] ) ? esc_attr( $values[ $key ] ) : esc_attr( $field['default'] ) ); ?></textarea>
13031305
</label>
13041306
<?php
13051307
} else {

0 commit comments

Comments
 (0)