Skip to content

Commit

Permalink
Made parameter type fields wider to fit more digits
Browse files Browse the repository at this point in the history
  • Loading branch information
jbtronics committed Sep 9, 2024
1 parent 574583b commit f3c802b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Form/ParameterType.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
'step' => 'any',
'placeholder' => 'parameters.max.placeholder',
'class' => 'form-control-sm',
'style' => 'max-width: 12ch;',
'style' => 'max-width: 25ch;',
],
]);
$builder->add('value_min', ExponentialNumberType::class, [
Expand All @@ -113,7 +113,7 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
'step' => 'any',
'placeholder' => 'parameters.min.placeholder',
'class' => 'form-control-sm',
'style' => 'max-width: 12ch;',
'style' => 'max-width: 25ch;',
],
]);
$builder->add('value_typical', ExponentialNumberType::class, [
Expand All @@ -124,7 +124,7 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
'step' => 'any',
'placeholder' => 'parameters.typical.placeholder',
'class' => 'form-control-sm',
'style' => 'max-width: 12ch;',
'style' => 'max-width: 25ch;',
],
]);
$builder->add('unit', TextType::class, [
Expand Down

0 comments on commit f3c802b

Please sign in to comment.