Skip to content

Commit

Permalink
restored input type text
Browse files Browse the repository at this point in the history
  • Loading branch information
darkzense committed Nov 15, 2023
1 parent 84014ba commit ad4ca99
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 19 deletions.
13 changes: 0 additions & 13 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,6 @@ td > input {
outline: 0;
}

/* Hides arrow buttons in numeric inputs */
/* https://www.w3schools.com/howto/howto_css_hide_arrow_number.asp */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}

/* Firefox */
input[type="number"] {
-moz-appearance: textfield;
}

#design {
height: 54.6875rem;
width: 45rem;
Expand Down
12 changes: 6 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@
</thead>
<tbody id="main-data">
<tr>
<td><input tabindex="-1" type="number" name="address" class="w-100 text-end" value="0000" readonly/></td>
<td><input type="number" name="var" class="w-100 text-end" /></td>
<td><input type="number" name="value" class="w-100 text-end" /></td>
<td><input tabindex="-1" type="text" name="address" class="w-100 text-end" value="0000" readonly/></td>
<td><input type="text" name="var" class="w-100 text-end" /></td>
<td><input type="text" name="value" class="w-100 text-end" /></td>
</tr>
</tbody>
</table>
Expand All @@ -114,9 +114,9 @@
</thead>
<tbody id="stack-data">
<tr>
<td><input tabindex="-1" type="number" name="address" class="w-100 text-end" value="0000" readonly/></td>
<td><input type="number" name="var" class="w-100 text-end" /></td>
<td><input type="number" name="value" class="w-100 text-end" /></td>
<td><input tabindex="-1" type="text" name="address" class="w-100 text-end" value="0000" readonly/></td>
<td><input type="text" name="var" class="w-100 text-end" /></td>
<td><input type="text" name="value" class="w-100 text-end" /></td>
</tr>
</tbody>
</table>
Expand Down

0 comments on commit ad4ca99

Please sign in to comment.