From 52d4bf0cc9a97131fa811365fd43d743931a6751 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Tue, 18 Jul 2023 10:49:28 +0800 Subject: [PATCH] Set title on left menu items so hover displays full text --- .../web/components/templates/homeFeed/LibraryFilterMenu.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/web/components/templates/homeFeed/LibraryFilterMenu.tsx b/packages/web/components/templates/homeFeed/LibraryFilterMenu.tsx index b1f341644..265cf5c80 100644 --- a/packages/web/components/templates/homeFeed/LibraryFilterMenu.tsx +++ b/packages/web/components/templates/homeFeed/LibraryFilterMenu.tsx @@ -356,6 +356,7 @@ function FilterButton(props: FilterButtonProps): JSX.Element { : '$thBackground4', }, }} + title={props.text} onClick={(e) => { props.applySearchQuery(props.filterTerm) props.setShowFilterMenu(false) @@ -408,6 +409,7 @@ function LabelButton(props: LabelButtonProps): JSX.Element { backgroundColor: '$thBackground4', }, }} + title={props.label.name} alignment="center" distribution="start" >