aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/webui/static
diff options
context:
space:
mode:
Diffstat (limited to 'fg21sim/webui/static')
-rw-r--r--fg21sim/webui/static/css/main.css13
1 files changed, 13 insertions, 0 deletions
diff --git a/fg21sim/webui/static/css/main.css b/fg21sim/webui/static/css/main.css
index 4ebac58..67f324b 100644
--- a/fg21sim/webui/static/css/main.css
+++ b/fg21sim/webui/static/css/main.css
@@ -39,6 +39,19 @@ td, th {
}
/**
+ * Hide the spinner in "number" input
+ * Credit: https://stackoverflow.com/a/23374725/4856091
+ */
+input[type="number"] {
+ -moz-appearance: textfield;
+}
+input[type="number"]::-webkit-outer-spin-button,
+input[type="number"]::-webkit-inner-spin-button {
+ -webkit-appearance: none;
+ margin: 0;
+}
+
+/**
* Screen reader only
* Credit: refs.(2, 3)
*/