From 639a97f14f58e88ee3952f56eb61bb5c84088320 Mon Sep 17 00:00:00 2001 From: tsun90 <52758623+tsun900@users.noreply.github.com> Date: Sat, 2 Nov 2024 07:05:03 -0400 Subject: [PATCH 1/6] provider UI updated according to figma --- src/assets/styles/main.css | 6 +- src/components/collapsible/index.tsx | 4 +- src/components/map/index.tsx | 14 +- src/components/subcomponents/ProviderInfo.tsx | 142 +++++++++--------- .../chartcomponents/ChartComponentForm.tsx | 8 - .../styles/ChartComponentForm.css | 2 +- 6 files changed, 90 insertions(+), 86 deletions(-) diff --git a/src/assets/styles/main.css b/src/assets/styles/main.css index b8f683f..8813728 100644 --- a/src/assets/styles/main.css +++ b/src/assets/styles/main.css @@ -670,12 +670,16 @@ h2 { flex-direction: row; } +.modal-image-col { + height: 50%; +} + .modal-hours-container { display: flex; flex-direction: column; font-size: 13px; padding-left: 15px; - width: 30vw; + width: 15vw; } .modal-hours-container h5 { diff --git a/src/components/collapsible/index.tsx b/src/components/collapsible/index.tsx index 2d768c8..81a9d6e 100644 --- a/src/components/collapsible/index.tsx +++ b/src/components/collapsible/index.tsx @@ -8,11 +8,13 @@ import { FaAngleDown, FaAngleUp } from "react-icons/fa"; interface Managed { style?: React.CSSProperties; titleStyle?: React.CSSProperties; + containerStyle?: React.CSSProperties; label: string; children: any; } interface Unmanaged { style?: React.CSSProperties; + containerStyle?: React.CSSProperties; title: React.ReactElement; children: any; } @@ -43,7 +45,7 @@ const Collapsible = (props: PropTypes) => {
{JSON.stringify(chartState, null, 2)}-