From 907319262cc959cb66f02cae3990c2c19ceb03f9 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Wed, 1 Mar 2023 19:30:40 +0800 Subject: [PATCH] Set width and maxWidth on filter buttons so they clip but also show full width --- packages/web/components/templates/homeFeed/LibraryFilterMenu.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/web/components/templates/homeFeed/LibraryFilterMenu.tsx b/packages/web/components/templates/homeFeed/LibraryFilterMenu.tsx index d04484ab2..b108bfbe1 100644 --- a/packages/web/components/templates/homeFeed/LibraryFilterMenu.tsx +++ b/packages/web/components/templates/homeFeed/LibraryFilterMenu.tsx @@ -208,6 +208,7 @@ function FilterButton(props: FilterButtonProps): JSX.Element { pl: '10px', mb: '2px', display: 'flex', + width: '100%', maxWidth: '100%', height: '32px', backgroundColor: selected ? '#FFEA9F' : 'unset',