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:
parent
f0a6bf1cdc
commit
d9047ffbef
5 changed files with 4 additions and 11 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue