From 0465fc40ecc6c6a1c36059c6f7379dcb5492f517 Mon Sep 17 00:00:00 2001 From: Anchel135 Date: Sun, 8 Sep 2024 14:58:51 +0300 Subject: [PATCH 1/2] add x and v buttons to set config and change the input type to number --- app/globals.css | 8 ++++ app/graph/toolbar.tsx | 2 - app/settings/Configurations.tsx | 70 ++++++++++++++++++++++----------- 3 files changed, 54 insertions(+), 26 deletions(-) diff --git a/app/globals.css b/app/globals.css index 6d5ade16..64fe52a6 100644 --- a/app/globals.css +++ b/app/globals.css @@ -73,6 +73,14 @@ } } +input[type="number"]::-webkit-outer-spin-button, +input[type="number"]::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; +} +input[type="number"] { + -moz-appearance: textfield; +} @font-face { font-family: 'Obviously Narrow'; diff --git a/app/graph/toolbar.tsx b/app/graph/toolbar.tsx index e3a712bd..20a95524 100644 --- a/app/graph/toolbar.tsx +++ b/app/graph/toolbar.tsx @@ -44,7 +44,6 @@ export default function Toolbar({ disabled, chartRef, onDeleteElement, onAddEnti