diff --git a/webui/src/pages/bug/labels/LabelMenu.tsx b/webui/src/pages/bug/labels/LabelMenu.tsx index 01be11d8e317225113eb4fd67cb628ff87a359a4..8834731686500176cb334f8842c136bd0ef0f428 100644 --- a/webui/src/pages/bug/labels/LabelMenu.tsx +++ b/webui/src/pages/bug/labels/LabelMenu.tsx @@ -67,10 +67,8 @@ const useStyles = makeStyles((theme) => ({ }, }, labelcolor: { - minWidth: '1rem', - minHeight: '1rem', + minWidth: '0.5rem', display: 'flex', - backgroundColor: 'blue', borderRadius: '0.25rem', marginRight: '5px', marginLeft: '3px', @@ -81,8 +79,7 @@ const useStyles = makeStyles((theme) => ({ }, menuRow: { display: 'flex', - alignItems: 'center', - flexWrap: 'wrap', + alignItems: 'initial', }, })); @@ -194,7 +191,7 @@ function FilterDropdown({ selected={itemActive(key)} >
- {itemActive(key) && } + {itemActive(key) && }
({ icon: { paddingRight: theme.spacing(0.5), }, + labelMenu: { + '& .MuiMenu-paper': { + //somehow using "width" won't override the default width... + minWidth: '35ch', + }, + }, + labelMenuItem: { + whiteSpace: 'normal', + wordBreak: 'break-word', + display: 'flex', + alignItems: 'initial', + }, labelcolor: { - minWidth: '15px', - minHeight: '15px', + minWidth: '0.5rem', display: 'flex', - backgroundColor: 'blue', borderRadius: '0.25rem', marginRight: '5px', marginLeft: '3px', @@ -170,6 +181,7 @@ function FilterDropdown({ d[1].toLowerCase().includes(filter.toLowerCase())) .map(([key, value, color]) => ( setOpen(false)} key={key} > + {itemActive(key) && } {color && (