From eebd109d7c718c29b8f75ac14683740713c9be32 Mon Sep 17 00:00:00 2001 From: Hristo Nedelkov Date: Tue, 19 Dec 2023 13:34:44 +0200 Subject: [PATCH 1/3] fix-connect to stay on row --- src/components/General/LabelInputField.css | 2 +- src/components/General/LabelInputField.tsx | 9 +-- .../ConnectDevicePage/ConnectDevicePage.tsx | 64 +++++++++++++------ 3 files changed, 52 insertions(+), 23 deletions(-) diff --git a/src/components/General/LabelInputField.css b/src/components/General/LabelInputField.css index ea10cda9..77e4504e 100644 --- a/src/components/General/LabelInputField.css +++ b/src/components/General/LabelInputField.css @@ -2,5 +2,5 @@ background-color: #fff; border-radius: 12px; margin-top: 8px; - width: 100%; + } diff --git a/src/components/General/LabelInputField.tsx b/src/components/General/LabelInputField.tsx index f0c4619e..44e1f76c 100644 --- a/src/components/General/LabelInputField.tsx +++ b/src/components/General/LabelInputField.tsx @@ -5,16 +5,17 @@ import './LabelInputField.css' type LabelInputProps = { labelText: string placeholderText: string + width?: string } -const LabelInputField = ({ labelText, placeholderText }: LabelInputProps) => { +const LabelInputField = ({ labelText, placeholderText, width }: LabelInputProps) => { return ( -