From 257b95d37f50410acda54eb81f9669adf4d58ad1 Mon Sep 17 00:00:00 2001 From: Matan Schatzman Date: Thu, 18 Apr 2024 08:18:05 +0300 Subject: [PATCH] CNV-40886: Fix input number default size Signed-off-by: Matan Schatzman --- .../checkups/network/components/form/CheckupsNetworkForm.tsx | 1 + .../network/components/form/CheckupsNetworkFormLatency.tsx | 1 + .../network/components/form/checkups-network-form.scss | 3 +++ .../checkups/storage/components/form/CheckupsStorageForm.tsx | 1 + .../storage/components/form/checkups-storage-form.scss | 3 +++ 5 files changed, 9 insertions(+) diff --git a/src/views/checkups/network/components/form/CheckupsNetworkForm.tsx b/src/views/checkups/network/components/form/CheckupsNetworkForm.tsx index 6e914fb39..08a2f73e7 100644 --- a/src/views/checkups/network/components/form/CheckupsNetworkForm.tsx +++ b/src/views/checkups/network/components/form/CheckupsNetworkForm.tsx @@ -47,6 +47,7 @@ const CheckupsNetworkForm = () => { setSampleDuration(val)} diff --git a/src/views/checkups/network/components/form/CheckupsNetworkFormLatency.tsx b/src/views/checkups/network/components/form/CheckupsNetworkFormLatency.tsx index 64e982d10..45f8fb1fc 100644 --- a/src/views/checkups/network/components/form/CheckupsNetworkFormLatency.tsx +++ b/src/views/checkups/network/components/form/CheckupsNetworkFormLatency.tsx @@ -49,6 +49,7 @@ const CheckupsNetworkFormLatency: FC = ({ {isDesiredLatency && ( setDesiredLatency(value)} diff --git a/src/views/checkups/network/components/form/checkups-network-form.scss b/src/views/checkups/network/components/form/checkups-network-form.scss index 13895dff0..987d32ccf 100644 --- a/src/views/checkups/network/components/form/checkups-network-form.scss +++ b/src/views/checkups/network/components/form/checkups-network-form.scss @@ -7,5 +7,8 @@ width: 100%; } } + &__number-input { + width: fit-content; + } } } diff --git a/src/views/checkups/storage/components/form/CheckupsStorageForm.tsx b/src/views/checkups/storage/components/form/CheckupsStorageForm.tsx index 67d064f16..2db9281ee 100644 --- a/src/views/checkups/storage/components/form/CheckupsStorageForm.tsx +++ b/src/views/checkups/storage/components/form/CheckupsStorageForm.tsx @@ -59,6 +59,7 @@ const CheckupsStorageForm = () => { label={t('Timeout (minutes)')} >