mishig HF staff commited on
Commit
b5cf971
1 Parent(s): fb6b956

make number input wider

Browse files
src/lib/components/InferencePlayground/InferencePlaygroundGenerationConfig.svelte CHANGED
@@ -25,7 +25,7 @@
25
  >
26
  <input
27
  type="number"
28
- class="w-16 rounded border bg-transparent px-1 py-0.5 text-right text-sm dark:border-gray-700"
29
  {min}
30
  {max}
31
  {step}
@@ -58,7 +58,7 @@
58
  >
59
  <input
60
  type="number"
61
- class="w-16 rounded border bg-transparent px-1 py-0.5 text-right text-sm dark:border-gray-700"
62
  min={settings.min}
63
  max={settings.max}
64
  step={settings.step}
 
25
  >
26
  <input
27
  type="number"
28
+ class="w-18 rounded border bg-transparent px-1 py-0.5 text-right text-sm dark:border-gray-700"
29
  {min}
30
  {max}
31
  {step}
 
58
  >
59
  <input
60
  type="number"
61
+ class="w-18 rounded border bg-transparent px-1 py-0.5 text-right text-sm dark:border-gray-700"
62
  min={settings.min}
63
  max={settings.max}
64
  step={settings.step}