Skip to content

library: scale interactive cover to a fixed-height band#152

Merged
MaryWylde merged 1 commit into
devfrom
feat/library-animation
Jun 18, 2026
Merged

library: scale interactive cover to a fixed-height band#152
MaryWylde merged 1 commit into
devfrom
feat/library-animation

Conversation

@MaryWylde

Copy link
Copy Markdown
Contributor

The cover keeps the art's aspect ratio: below the art's natural 1920px width the band scales down with the viewport, and at/above 1920px it caps at 1920x852 centered with a blurred fill behind the side gaps. The hotspot layer shares the art's box so hover targets track at every width.

The cover keeps the art's aspect ratio: below the art's natural 1920px width
the band scales down with the viewport, and at/above 1920px it caps at
1920x852 centered with a blurred fill behind the side gaps. The hotspot layer
shares the art's box so hover targets track at every width.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@MaryWylde MaryWylde merged commit 9f4c2ae into dev Jun 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant