diff --git a/style_editor.html b/style_editor.html index 671dfb6..4f4ec5b 100644 --- a/style_editor.html +++ b/style_editor.html @@ -141,6 +141,19 @@ input[type="button"]:active { background-color: dodgerblue; } +/*Keep from browser takeover of number inputs */ +input[type='number'] { + width: 60px; + height: 22px; +} +input[type='number']::-webkit-inner-spin-button, +input[type='number']::-webkit-outer-spin-button { + -webkit-appearance: none; + margin: 0; +} +input[type='number'] { + -moz-appearance: textfield; +} button.submit-button { background-color: limegreen; border: 1px solid green; @@ -1239,6 +1252,19 @@