Skip to content

Commit 15fbde3

Browse files
committed
add divider between alerts
1 parent b02f306 commit 15fbde3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

client/src/components/prometheusModal/prometheusModal.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ export function PrometheusQueryBox({
396396

397397
{alerts.map((alert, idx) => (
398398
<div key={idx} className="mb-2">
399-
<div className="fw-normal text-dark medium">
399+
<div className="fw-normal text-dark medium text-truncate">
400400
{alert.description || alert.alertName}
401401
</div>
402402
<div
@@ -407,6 +407,7 @@ export function PrometheusQueryBox({
407407
>
408408
{alert.value}
409409
</div>
410+
{idx < alerts.length - 1 && <hr className="my-2" />}
410411
</div>
411412
))}
412413
</CardBody>

0 commit comments

Comments
 (0)