Skip to content

Commit 6ab175f

Browse files
style(replays): fix header placeholder size (#68030)
the header placeholders were the wrong size (too large), leading to some movement when the data is loaded https://github.com/getsentry/sentry/assets/56095982/61175206-cb5c-452e-9813-7f61cd2c56c0
1 parent 806072c commit 6ab175f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

static/app/components/replays/header/replayMetaData.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ function ReplayMetaData({replayErrors, replayRecord, showDeadRageClicks = true}:
7979
{replayRecord ? (
8080
<ErrorCounts replayErrors={replayErrors} replayRecord={replayRecord} />
8181
) : (
82-
<HeaderPlaceholder width="80px" height="16px" />
82+
<HeaderPlaceholder width="20px" height="16px" />
8383
)}
8484
</KeyMetricData>
8585
</KeyMetrics>
@@ -89,7 +89,7 @@ function ReplayMetaData({replayErrors, replayRecord, showDeadRageClicks = true}:
8989
const KeyMetrics = styled('dl')`
9090
display: grid;
9191
grid-template-rows: max-content 1fr;
92-
grid-template-columns: repeat(5, max-content);
92+
grid-template-columns: repeat(4, max-content);
9393
grid-auto-flow: column;
9494
gap: 0 ${space(3)};
9595
align-items: center;

static/app/views/replays/detail/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export default function Page({
121121
hideEmail
122122
/>
123123
) : (
124-
<HeaderPlaceholder width="100%" height="58px" />
124+
<HeaderPlaceholder width="30%" height="45px" />
125125
)}
126126

127127
<ReplayMetaData

0 commit comments

Comments
 (0)