1
Fork 0
mirror of https://github.com/thegeneralist01/archivr synced 2026-07-21 18:55:36 +02:00

fix(frontend): no left gap on playlist rows until chevron exists

Remove the probing-state placeholder span entirely. The chevron renders
only when playlistProbeState === 'done'; all other states (idle, probing,
error) render null. The small layout shift when the chevron appears after
probe is acceptable; blank padding while there is no chevron is not.
This commit is contained in:
TheGeneralist 2026-07-21 13:19:30 +02:00
parent f0a6bf1cdc
commit d9047ffbef
Signed by: thegeneralist01
SSH key fingerprint: SHA256:pp9qddbCNmVNoSjevdvQvM5z0DHN7LTa8qBMbcMq/R4
5 changed files with 4 additions and 11 deletions

View file

@ -4,8 +4,8 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Archivr</title>
<script type="module" crossorigin src="/assets/index-Bxtvq8vS.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-CMScl08q.css">
<script type="module" crossorigin src="/assets/index-CTxmRuus.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-B2ZDSzbi.css">
</head>
<body>
<div id="root"></div>

View file

@ -818,8 +818,6 @@ function CaptureRow({ item, autoFocus, onLocatorChange, onQualityChange, onRemov
>
{item.playlistExpanded ? '▲' : '▼'}
</button>
) : item.playlistProbeState === 'probing' ? (
<span className="capture-playlist-toggle-placeholder" aria-hidden="true" />
) : null
) : null}
<input

View file

@ -2879,11 +2879,6 @@ body.has-audio-bar { padding-bottom: 56px; }
padding: 2px 4px;
font-size: 0.7rem;
}
.capture-playlist-toggle-placeholder {
display: inline-block;
width: 22px;
flex-shrink: 0;
}
.capture-conflict-badge {
font-size: 0.7rem;