From e3321708eaafe525170841fac2e346aef13ed003 Mon Sep 17 00:00:00 2001 From: Barak Yakter Date: Wed, 15 May 2024 21:46:24 +0300 Subject: [PATCH 1/2] Adjust title when road name is very long --- src/components/molecules/Table/TableView.tsx | 1 + src/components/molecules/TextView/TextView.tsx | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/components/molecules/Table/TableView.tsx b/src/components/molecules/Table/TableView.tsx index bf743c63..909f0c97 100644 --- a/src/components/molecules/Table/TableView.tsx +++ b/src/components/molecules/Table/TableView.tsx @@ -12,6 +12,7 @@ interface IProps { const useStyles = makeStyles((theme: Theme) => ({ table: { border: `1px solid ${blackColor}`, + margin: '15px 0', borderBottom: 0, borderCollapse: 'separate', }, diff --git a/src/components/molecules/TextView/TextView.tsx b/src/components/molecules/TextView/TextView.tsx index b21e12fc..06ed31dc 100644 --- a/src/components/molecules/TextView/TextView.tsx +++ b/src/components/molecules/TextView/TextView.tsx @@ -52,11 +52,14 @@ const useStyles = makeStyles(() => ({ headerBase: { width: '80%', height: '25%', + marginBottom: '20px' }, list: { width: '80%', height: '100%', alignSelf: 'flex-end', + marginTop: '25px', + }, singleTypeImage: { height: '40%', From 0b463210a60fee8411abf89b797b4b33a8da0fac Mon Sep 17 00:00:00 2001 From: Atalya Alon <20992625+atalyaalon@users.noreply.github.com> Date: Wed, 22 May 2024 20:20:53 +0300 Subject: [PATCH 2/2] Update TextView.tsx --- src/components/molecules/TextView/TextView.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/molecules/TextView/TextView.tsx b/src/components/molecules/TextView/TextView.tsx index 06ed31dc..ec6d4e85 100644 --- a/src/components/molecules/TextView/TextView.tsx +++ b/src/components/molecules/TextView/TextView.tsx @@ -59,7 +59,6 @@ const useStyles = makeStyles(() => ({ height: '100%', alignSelf: 'flex-end', marginTop: '25px', - }, singleTypeImage: { height: '40%',