From d2d01d4a8aaf64fa0904b535d328ac553ac036ad Mon Sep 17 00:00:00 2001 From: Kevin Tun Date: Mon, 29 Jan 2024 11:11:56 -0600 Subject: [PATCH] style(LatestPaperItem.tsx): change maxHeight to flexBasis to improve responsiveness The maxHeight property was replaced with flexBasis to improve the responsiveness of the LatestPaperItem component. --- .../dicty-frontpage/src/features/Frontpage/LatestPaperItem.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/dicty-frontpage/src/features/Frontpage/LatestPaperItem.tsx b/apps/dicty-frontpage/src/features/Frontpage/LatestPaperItem.tsx index e01b43a5af..3154dfb12d 100644 --- a/apps/dicty-frontpage/src/features/Frontpage/LatestPaperItem.tsx +++ b/apps/dicty-frontpage/src/features/Frontpage/LatestPaperItem.tsx @@ -6,8 +6,7 @@ const useStyles = makeStyles({ listItem: { listStyle: "none", marginBottom: "10px", - maxHeight: "5rem", - // boxSizing: "border-box", + flexBasis: "5rem", }, leadText: { color: "#0b3861",