Skip to content

Commit f011d9a

Browse files
authored
feat(ui): Tweak Alert type styles (#16094)
Change to make the text to be a different color, uppercase, and bold
1 parent 39b2ae1 commit f011d9a

File tree

1 file changed

+9
-2
lines changed
  • src/sentry/static/sentry/app/views/settings/projectAlerts

1 file changed

+9
-2
lines changed

src/sentry/static/sentry/app/views/settings/projectAlerts/ruleRowNew.tsx

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class RuleRow extends React.Component<Props, State> {
5454

5555
return (
5656
<RuleItem>
57-
<div>{t('Issue')}</div>
57+
<RuleType>{t('Issue')}</RuleType>
5858
<div>
5959
{canEdit ? <RuleName to={editLink}>{data.name}</RuleName> : data.name}
6060
<RuleDescription>
@@ -98,7 +98,7 @@ class RuleRow extends React.Component<Props, State> {
9898

9999
return (
100100
<RuleItem>
101-
<div>{t('Metric')}</div>
101+
<RuleType>{t('Metric')}</RuleType>
102102
<div>
103103
{canEdit ? <RuleName to={editLink}>{data.name}</RuleName> : data.name}
104104
<RuleDescription />
@@ -147,6 +147,13 @@ const RuleItem = styled(PanelItem)`
147147
grid-auto-flow: column;
148148
`;
149149

150+
const RuleType = styled('div')`
151+
color: ${p => p.theme.gray3};
152+
font-size: ${p => p.theme.fontSizeSmall};
153+
font-weight: bold;
154+
text-transform: uppercase;
155+
`;
156+
150157
const RuleName = styled(Link)`
151158
font-weight: bold;
152159
`;

0 commit comments

Comments
 (0)