From 15fdbd4e9e36c858709651e035fe1339dba3a1e9 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Sat, 16 Oct 2021 22:21:24 +0200 Subject: feat(labels): better ui for labels --- components/Tweaks/TagPanel.tsx | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'components/Tweaks/TagPanel.tsx') diff --git a/components/Tweaks/TagPanel.tsx b/components/Tweaks/TagPanel.tsx index 4d2e355..8d63c6f 100644 --- a/components/Tweaks/TagPanel.tsx +++ b/components/Tweaks/TagPanel.tsx @@ -25,6 +25,7 @@ export const TagPanel = (props: TagPanelProps) => { return ( { highlightItemBg="gray.400" toggleButtonStyleProps={{ variant: 'outline' }} inputStyleProps={{ + mt: 2, + height: 8, focusBorderColor: highlightColor, color: 'gray.800', - borderColor: 'gray.600', + borderColor: 'gray.500', }} tagStyleProps={{ - rounded: 'full', - bg: highlightColor, - height: 8, - paddingLeft: 4, - fontWeight: 'bold', + justifyContent: 'flex-start', + //variant: 'subtle', + fontSize: 10, + borderColor: highlightColor, + borderWidth: 1, + borderRadius: 'md', + color: highlightColor, + bg: '', + height: 4, + mb: 2, + //paddingLeft: 4, + //fontWeight: 'bold', }} hideToggleButton itemRenderer={(selected) => selected.label} -- cgit v1.2.3