From cfc6a8ef3b5a3f4dc0794e6f2d6312b82a620293 Mon Sep 17 00:00:00 2001 From: Maha Date: Fri, 18 Oct 2024 20:28:54 -0400 Subject: [PATCH] fix: adjusted font-sizes and listitem inputs to be more responsive at small screen sizes --- src/components/ListItem.scss | 3 +++ src/components/ListItem.tsx | 6 +++--- src/components/forms/ItemQuantityForm.tsx | 4 ++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/components/ListItem.scss b/src/components/ListItem.scss index 20db2d3..0527427 100644 --- a/src/components/ListItem.scss +++ b/src/components/ListItem.scss @@ -60,4 +60,7 @@ .EditItem { flex-direction: column; } + .PurchaseItem { + font-size: 0.75em; + } } diff --git a/src/components/ListItem.tsx b/src/components/ListItem.tsx index 7e48c6c..ea199b8 100644 --- a/src/components/ListItem.tsx +++ b/src/components/ListItem.tsx @@ -124,12 +124,12 @@ export function ListItemCheckBox({ item, listPath }: Props) { return (
{urgencyStatus}
-
+
- {item.name} + {item.name}
diff --git a/src/components/forms/ItemQuantityForm.tsx b/src/components/forms/ItemQuantityForm.tsx index c0452c8..086323e 100644 --- a/src/components/forms/ItemQuantityForm.tsx +++ b/src/components/forms/ItemQuantityForm.tsx @@ -46,9 +46,9 @@ export function ItemQuantityForm({ }; return ( -
+