There was an error while loading. Please reload this page.
1 parent d6e1b4e commit 6fcf1cfCopy full SHA for 6fcf1cf
1 file changed
apps/webapp/app/components/dashboard-agent/report-sparkline.tsx
@@ -140,7 +140,11 @@ export function ReportHeadline({
140
}) {
141
return (
142
<p className="flex items-start gap-2 text-sm">
143
- <ReportSeverityIcon severity={severity} tone={tone} className="mt-1.5 shrink-0" />
+ <ReportSeverityIcon
144
+ severity={severity}
145
+ tone={tone}
146
+ className={cn("shrink-0", (tone ?? severity) === "warn" ? "mt-1" : "mt-0.5")}
147
+ />
148
<span>
149
<span className={cn("font-medium", SEVERITY_TEXT[tone ?? severity])}>{phrase}</span>
150
{continuation ? <span className="text-text-bright"> — {continuation}</span> : null}
0 commit comments