fluff pour number inputs

This commit is contained in:
Ali Gator 2022-01-10 21:01:39 +01:00
parent 6f1e813316
commit 73e690aa07
2 changed files with 7 additions and 2 deletions

View File

@ -24,6 +24,7 @@
<input <input
name="size" name="size"
type="number" type="number"
min="1"
:value="cellProperties.size" :value="cellProperties.size"
@input="updateCellProperties" @input="updateCellProperties"
> >

View File

@ -2,28 +2,32 @@
<MenuRow row-title="General Options"> <MenuRow row-title="General Options">
<form> <form>
<div class="form-field"> <div class="form-field">
<label for="live">Canvas Resolution</label> <label>Canvas Resolution</label>
</div> </div>
<div class="form-field"> <div class="form-field">
<label>Width</label>
<input <input
id="canvasWidth" id="canvasWidth"
name="canvasWidth" name="canvasWidth"
type="number" type="number"
step="10"
:value="canvasWidth" :value="canvasWidth"
@input="updateCanvasWidth" @input="updateCanvasWidth"
> >
</div> </div>
<div class="form-field"> <div class="form-field">
<label>Height</label>
<input <input
id="canvasHeight" id="canvasHeight"
name="canvasHeight" name="canvasHeight"
type="number" type="number"
step="10"
:value="canvasHeight" :value="canvasHeight"
@input="updateCanvasHeight" @input="updateCanvasHeight"
> >
</div> </div>
<div class="form-field"> <div class="form-field">
<label for="live">Refresh Rate (ms)</label> <label>Refresh Rate (ms)</label>
</div> </div>
<div class="form-field"> <div class="form-field">
<input <input