Merge pull request #2499 from omnivore-app/feat/web-menu-hover

Set title on left menu items so hover displays full text
This commit is contained in:
Jackson Harper 2023-07-18 12:21:19 +08:00 committed by GitHub
commit 97242b19c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"
>