Skip to content

Commit 55d8d96

Browse files
TMHSDigitalclaude
andcommitted
site: keep shortlist buttons hidden until the script runs
The ghost-button display rule on entry pages overrode the hidden attribute, so the toggle showed (and did nothing) without JavaScript. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 488ce7d commit 55d8d96

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

‎site/public/styles.css‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1506,3 +1506,14 @@ input:focus-visible,
15061506
color: var(--ink);
15071507
white-space: nowrap;
15081508
}
1509+
1510+
/* Kept hidden until shortlist.js runs: the ghost-button display rules would
1511+
otherwise override the hidden attribute. */
1512+
.shortlist-toggle[hidden],
1513+
.shortlist[hidden] {
1514+
display: none;
1515+
}
1516+
1517+
.page-actions .shortlist-toggle {
1518+
cursor: pointer;
1519+
}

0 commit comments

Comments
 (0)