Skip to content

Commit baa5b0a

Browse files
authored
refactor: use primer components for notification metric tooltip (#1814)
Signed-off-by: Adam Setch <[email protected]>
1 parent cad637b commit baa5b0a

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/renderer/components/settings/NotificationSettings.tsx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -102,28 +102,28 @@ export const NotificationSettings: FC = () => {
102102
<Stack direction="vertical" gap="condensed">
103103
<Text>Show notification metric pills for:</Text>
104104
<Box className="pl-4">
105-
<ul>
106-
<li className="flex items-center gap-1">
105+
<Stack direction="vertical" gap="none">
106+
<Stack direction="horizontal" gap="condensed">
107107
<IssueClosedIcon size={Size.SMALL} />
108108
linked issues
109-
</li>
110-
<li className="flex items-center gap-1">
109+
</Stack>
110+
<Stack direction="horizontal" gap="condensed">
111111
<CheckIcon size={Size.SMALL} />
112112
pr reviews
113-
</li>
114-
<li className="flex items-center gap-1">
113+
</Stack>
114+
<Stack direction="horizontal" gap="condensed">
115115
<CommentIcon size={Size.SMALL} />
116116
comments
117-
</li>
118-
<li className="flex items-center gap-1">
117+
</Stack>
118+
<Stack direction="horizontal" gap="condensed">
119119
<TagIcon size={Size.SMALL} />
120120
labels
121-
</li>
122-
<li className="flex items-center gap-1">
121+
</Stack>
122+
<Stack direction="horizontal" gap="condensed">
123123
<MilestoneIcon size={Size.SMALL} />
124124
milestones
125-
</li>
126-
</ul>
125+
</Stack>
126+
</Stack>
127127
</Box>
128128
</Stack>
129129
}

0 commit comments

Comments
 (0)