mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Made parameter type fields wider to fit more digits
This commit is contained in:
parent
574583bd6a
commit
f3c802bcff
1 changed files with 3 additions and 3 deletions
|
@ -102,7 +102,7 @@ class ParameterType extends AbstractType
|
||||||
'step' => 'any',
|
'step' => 'any',
|
||||||
'placeholder' => 'parameters.max.placeholder',
|
'placeholder' => 'parameters.max.placeholder',
|
||||||
'class' => 'form-control-sm',
|
'class' => 'form-control-sm',
|
||||||
'style' => 'max-width: 12ch;',
|
'style' => 'max-width: 25ch;',
|
||||||
],
|
],
|
||||||
]);
|
]);
|
||||||
$builder->add('value_min', ExponentialNumberType::class, [
|
$builder->add('value_min', ExponentialNumberType::class, [
|
||||||
|
@ -113,7 +113,7 @@ class ParameterType extends AbstractType
|
||||||
'step' => 'any',
|
'step' => 'any',
|
||||||
'placeholder' => 'parameters.min.placeholder',
|
'placeholder' => 'parameters.min.placeholder',
|
||||||
'class' => 'form-control-sm',
|
'class' => 'form-control-sm',
|
||||||
'style' => 'max-width: 12ch;',
|
'style' => 'max-width: 25ch;',
|
||||||
],
|
],
|
||||||
]);
|
]);
|
||||||
$builder->add('value_typical', ExponentialNumberType::class, [
|
$builder->add('value_typical', ExponentialNumberType::class, [
|
||||||
|
@ -124,7 +124,7 @@ class ParameterType extends AbstractType
|
||||||
'step' => 'any',
|
'step' => 'any',
|
||||||
'placeholder' => 'parameters.typical.placeholder',
|
'placeholder' => 'parameters.typical.placeholder',
|
||||||
'class' => 'form-control-sm',
|
'class' => 'form-control-sm',
|
||||||
'style' => 'max-width: 12ch;',
|
'style' => 'max-width: 25ch;',
|
||||||
],
|
],
|
||||||
]);
|
]);
|
||||||
$builder->add('unit', TextType::class, [
|
$builder->add('unit', TextType::class, [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue