aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/pages/bug/labels
diff options
context:
space:
mode:
authorSascha <GlancingMind@outlook.com>2021-03-30 17:02:15 +0200
committerSascha <GlancingMind@outlook.com>2021-04-08 14:57:39 +0200
commitcb609c28b5d1fa6cde79e2ef6b884988182f57c2 (patch)
tree37f05b89c772fcab47010166c049811371e2171d /webui/src/pages/bug/labels
parent4d4172bb4c7bac5f801ef67f60ff9c58021d3080 (diff)
downloadgit-bug-cb609c28b5d1fa6cde79e2ef6b884988182f57c2.tar.gz
Increase width of list/labelmenu and stretch color for menuitems
Diffstat (limited to 'webui/src/pages/bug/labels')
-rw-r--r--webui/src/pages/bug/labels/LabelMenu.tsx9
1 files changed, 3 insertions, 6 deletions
diff --git a/webui/src/pages/bug/labels/LabelMenu.tsx b/webui/src/pages/bug/labels/LabelMenu.tsx
index 01be11d8..88347316 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)}
>
<div className={classes.menuRow}>
- {itemActive(key) && <CheckIcon fontSize={'small'} />}
+ {itemActive(key) && <CheckIcon />}
<div
className={classes.labelcolor}
style={createStyle(color)}