|
9 | 9 | Link, |
10 | 10 | Spinner, |
11 | 11 | FormControl, |
12 | | - Token, |
| 12 | + CounterLabel, |
13 | 13 | ActionMenu, |
14 | 14 | ActionList, |
15 | 15 | Label, |
@@ -107,14 +107,13 @@ function SuccessView({ |
107 | 107 | <Box |
108 | 108 | display="flex" |
109 | 109 | alignItems="center" |
110 | | - gap={3} |
111 | 110 | mb={3} |
112 | 111 | pb={3} |
113 | 112 | borderBottomWidth={1} |
114 | 113 | borderBottomStyle="solid" |
115 | 114 | borderBottomColor="border.default" |
116 | 115 | > |
117 | | - <Box sx={{ color: "success.fg" }}> |
| 116 | + <Box sx={{ color: "success.fg", flexShrink: 0, mr: 2 }}> |
118 | 117 | <CheckCircleIcon size={16} /> |
119 | 118 | </Box> |
120 | 119 | <Text sx={{ fontWeight: "semibold" }}> |
@@ -870,13 +869,13 @@ function CreateIssueApp() { |
870 | 869 | </Box> |
871 | 870 |
|
872 | 871 | {/* Metadata section */} |
873 | | - <Box display="flex" gap={2} mb={3} sx={{ flexWrap: "nowrap", "& > *": { flexShrink: 0 } }}> |
| 872 | + <Box display="flex" gap={1} mb={3} sx={{ flexWrap: "nowrap", overflow: "hidden" }}> |
874 | 873 | {/* Labels dropdown */} |
875 | 874 | <ActionMenu> |
876 | 875 | <ActionMenu.Button size="small" leadingVisual={TagIcon}> |
877 | | - Labels{" "} |
| 876 | + Labels |
878 | 877 | {selectedLabels.length > 0 && ( |
879 | | - <Token text={String(selectedLabels.length)} size="small" /> |
| 878 | + <CounterLabel sx={{ ml: 1 }}>{selectedLabels.length}</CounterLabel> |
880 | 879 | )} |
881 | 880 | </ActionMenu.Button> |
882 | 881 | <ActionMenu.Overlay width="medium"> |
@@ -930,9 +929,9 @@ function CreateIssueApp() { |
930 | 929 | {/* Assignees dropdown */} |
931 | 930 | <ActionMenu> |
932 | 931 | <ActionMenu.Button size="small" leadingVisual={PersonIcon}> |
933 | | - Assignees{" "} |
| 932 | + Assignees |
934 | 933 | {selectedAssignees.length > 0 && ( |
935 | | - <Token text={String(selectedAssignees.length)} size="small" /> |
| 934 | + <CounterLabel sx={{ ml: 1 }}>{selectedAssignees.length}</CounterLabel> |
936 | 935 | )} |
937 | 936 | </ActionMenu.Button> |
938 | 937 | <ActionMenu.Overlay width="medium"> |
|
0 commit comments