Skip to content

Commit 2e17a15

Browse files
committed
Remove bold and red
1 parent 91e0f34 commit 2e17a15

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

static/app/components/group/groupSummary.tsx

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -297,10 +297,8 @@ function GroupSummaryFull({
297297
}
298298
return (
299299
<InsightCard key={card.id}>
300-
<CardTitle preview={preview} cardId={card.id}>
301-
<CardTitleIcon cardId={card.id} preview={preview}>
302-
{card.icon}
303-
</CardTitleIcon>
300+
<CardTitle>
301+
<CardTitleIcon>{card.icon}</CardTitleIcon>
304302
<CardTitleText>{card.title}</CardTitleText>
305303
</CardTitle>
306304
<CardContentContainer>
@@ -362,14 +360,11 @@ const InsightCard = styled('div')`
362360
min-height: 0;
363361
`;
364362

365-
const CardTitle = styled('div')<{cardId?: string; preview?: boolean}>`
363+
const CardTitle = styled('div')`
366364
display: flex;
367365
align-items: center;
368366
gap: ${space(1)};
369-
color: ${p =>
370-
p.preview === false && p.cardId === 'whats_wrong'
371-
? p.theme.textColor
372-
: p.theme.subText};
367+
color: ${p => p.theme.subText};
373368
padding-bottom: ${space(0.5)};
374369
`;
375370

@@ -379,13 +374,10 @@ const CardTitleText = styled('p')`
379374
font-weight: ${p => p.theme.fontWeightBold};
380375
`;
381376

382-
const CardTitleIcon = styled('div')<{cardId?: string; preview?: boolean}>`
377+
const CardTitleIcon = styled('div')`
383378
display: flex;
384379
align-items: center;
385-
color: ${p =>
386-
p.preview === false && p.cardId === 'whats_wrong'
387-
? p.theme.pink400
388-
: p.theme.subText};
380+
color: ${p => p.theme.subText};
389381
`;
390382

391383
const CardContentContainer = styled('div')`

0 commit comments

Comments
 (0)