Sfoglia il codice sorgente

dice num input: max attr instead of size

Fabian Peter Hammerle 5 anni fa
parent
commit
592426f36d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      index.html

+ 1 - 1
index.html

@@ -89,7 +89,7 @@ footer a:hover {
 
 <p>
     dices
-    <input id="dice_num" type="number" min="1" size="2" value="6">
+    <input id="dice_num" type="number" min="1" max="32" value="6">
     <input type="button" onclick="decrement()" value="-">
     <input type="button" onclick="increment()" value="+">
     <input type="button" onclick="roll()" value="roll">