fix(web): skeleton poster height, keyboard-armed delete
Refs #280 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
71bb9ef2c3
commit
24c6bb1d6b
@@ -359,8 +359,7 @@ body {
|
||||
}
|
||||
|
||||
/* the title is known before the page is: a bar the title's own size */
|
||||
.page-title:empty::before,
|
||||
[data-loading] .page-title::before {
|
||||
.page-title:empty::before {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
width: 12rem;
|
||||
|
||||
+4
-2
@@ -66,7 +66,9 @@ export function control({
|
||||
let tone: string;
|
||||
if (state === "armed") {
|
||||
tone =
|
||||
"data-[armed=true]:not-disabled:text-ground data-[armed=true]:not-disabled:bg-signal-warn data-[armed=true]:not-disabled:border-signal-warn";
|
||||
"data-[armed=true]:not-disabled:text-ground data-[armed=true]:not-disabled:bg-signal-warn data-[armed=true]:not-disabled:border-signal-warn" +
|
||||
// armed from the keyboard, the delete's red focus still shows on the amber
|
||||
" data-[armed=true]:not-disabled:focus-visible:not-hover:text-signal-fault data-[armed=true]:not-disabled:focus-visible:not-hover:border-signal-fault";
|
||||
} else if (state === "warn") {
|
||||
tone =
|
||||
"data-[tone=warn]:not-disabled:text-signal-warn data-[tone=warn]:not-disabled:[border-color:oklch(from_var(--signal-warn)_l_c_h/55%)]";
|
||||
@@ -271,7 +273,7 @@ export const SUB =
|
||||
|
||||
/** Placeholder bars: the row's own geometry, no shimmer (Dead-Air). */
|
||||
export const skel = {
|
||||
lead: "block bg-panel-raised rounded-chip w-poster h-poster",
|
||||
lead: "block bg-panel-raised rounded-chip w-poster h-poster-h",
|
||||
line: "block bg-panel-raised rounded-chip w-7/10 h-3",
|
||||
short: "block bg-panel-raised rounded-chip w-2/5 h-3",
|
||||
} as const;
|
||||
|
||||
@@ -183,7 +183,6 @@ function SeasonRow({
|
||||
glyph="chevronRight"
|
||||
label={`${short} episodes`}
|
||||
look="lead"
|
||||
className="disclose-lead"
|
||||
iconClassName={cx(
|
||||
"[transition:transform_200ms_var(--ease-out)]",
|
||||
open && "[transform:rotate(90deg)]",
|
||||
|
||||
Reference in New Issue
Block a user