fix(manga): pin the badge to the gallery card, not the cover link #7

Merged
rms merged 1 commit from fix/badge-host into master 2026-11-28 02:34:01 -06:00
Owner

nhentai's a.cover is a padding box with no height and nhentai-helper's download button is a sibling in the same card, so a mark pinned to the link landed over the button. Badge now attaches to the card at top right. v2.1.3. (The missing star on 700526 is data-correct: not in favourites_ids.txt.)

nhentai's a.cover is a padding box with no height and nhentai-helper's download button is a sibling in the same card, so a mark pinned to the link landed over the button. Badge now attaches to the card at top right. v2.1.3. (The missing star on 700526 is data-correct: not in favourites_ids.txt.)
nhentai's cover is an aspect-ratio padding box (`<a class="cover" style="padding:
0 0 153.6% 0">`) with no height of its own, and nhentai-helper puts its download
button in the same card as a sibling - so a mark positioned against the link
landed over that button instead of on the thumbnail. The badge now attaches to
the card (div.gallery / .nhentai-helper-gallery / figure / .thumb) at top right,
which is also the element a grid re-render replaces, so a re-scan cannot leave a
stale mark behind.

No behaviour change to the verdicts: the missing star on 700526 is correct, it is
simply not in favourites_ids.txt (45,236 ids, synced 2026-11-26).

v2.1.3.
rms merged commit c37cb7607a into master 2026-11-28 02:34:01 -06:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rms/userscripts!7
No description provided.