Skip to content

Commit e492686

Browse files
fix(web): diagnostics cards use one border radius (#22906)
1 parent ece8fd8 commit e492686

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎apps/web/src/components/settings/ResourceTelemetryDiagnostics.tsx‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@ function ResourceTelemetryDiagnosticsBody({
992992
</div>
993993
}
994994
>
995-
<div className="overflow-hidden rounded-2xl border border-border/70 bg-card shadow-sm/5">
995+
<div className="overflow-hidden rounded-[inherit]">
996996
<div className="flex flex-col gap-3 border-b border-border/60 bg-linear-to-r from-muted/45 via-muted/20 to-transparent px-4 py-4 sm:flex-row sm:items-center sm:justify-between sm:px-5">
997997
<div>
998998
<div className="text-3xs font-semibold uppercase tracking-widest text-muted-foreground/70">
@@ -1100,7 +1100,7 @@ function ResourceTelemetryDiagnosticsBody({
11001100
) : null
11011101
}
11021102
>
1103-
<div className="grid overflow-hidden rounded-2xl border border-border/70 bg-card shadow-xs/5 md:grid-cols-2 md:divide-x md:divide-border/60">
1103+
<div className="grid overflow-hidden rounded-[inherit] md:grid-cols-2 md:divide-x md:divide-border/60">
11041104
<div className="px-4 py-4 sm:px-5">
11051105
<div className="mb-3 flex items-center gap-2 text-3xs font-semibold uppercase tracking-widest text-muted-foreground/70">
11061106
<span className="flex size-6 items-center justify-center rounded-md bg-muted/60">
@@ -1237,7 +1237,7 @@ function ResourceTelemetryDiagnosticsBody({
12371237
</div>
12381238
}
12391239
>
1240-
<div className="overflow-hidden rounded-2xl border border-border/70 bg-card shadow-xs/5">
1240+
<div className="overflow-hidden rounded-[inherit]">
12411241
{history.error ? (
12421242
<div className="flex items-start gap-2 border-b border-destructive/20 bg-destructive/5 px-4 py-3 text-xs text-destructive sm:px-5">
12431243
<AlertTriangleIcon className="size-3.5 h-lh shrink-0" />
@@ -1260,7 +1260,7 @@ function ResourceTelemetryDiagnosticsBody({
12601260
) : null
12611261
}
12621262
>
1263-
<div className="overflow-hidden rounded-2xl border border-border/70 bg-card shadow-xs/5">
1263+
<div className="overflow-hidden rounded-[inherit]">
12641264
<ProcessTable
12651265
processes={snapshot?.processes ?? []}
12661266
canMaintainEnvironment={canMaintainEnvironment}
@@ -1277,7 +1277,7 @@ function ResourceTelemetryDiagnosticsBody({
12771277
<span className="text-3xs text-muted-foreground/55">Logical bytes by operation</span>
12781278
}
12791279
>
1280-
<div className="overflow-hidden rounded-2xl border border-border/70 bg-card shadow-xs/5">
1280+
<div className="overflow-hidden rounded-[inherit]">
12811281
<div className="bg-muted/15 px-4 py-3 text-2xs leading-relaxed text-muted-foreground sm:px-5">
12821282
Native counters identify which process is reading or writing. These application-level
12831283
counters identify known T3 operations so process spikes can be correlated with specific

0 commit comments

Comments
 (0)