mirror of
https://github.com/kilyabin/psysonic.git
synced 2026-07-22 22:45:41 +00:00
fix(ui): stable play/enqueue hover on album rails and mainstage cards (#787)
* fix(ui): stable play/enqueue hover on album rails and mainstage cards Horizontal Home rails (Discover): drop content-visibility:auto and scroll-snap, pin controls to cover hover, dim overlay via background. Grids and song cards: pointer-events on overlays so WebKitGTK/Wayland GPU does not lose :hover. * chore: CHANGELOG and credits for PR #787
This commit is contained in:
@@ -46,10 +46,12 @@
|
||||
justify-content: center;
|
||||
gap: 6px;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transition: opacity var(--transition-base);
|
||||
}
|
||||
|
||||
.song-card:hover .song-card-play-overlay {
|
||||
.song-card:hover .song-card-play-overlay,
|
||||
.song-card:focus-within .song-card-play-overlay {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
@@ -64,12 +66,18 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
transition: transform var(--transition-fast);
|
||||
pointer-events: none;
|
||||
transition: filter var(--transition-fast);
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.song-card:hover .song-card-action-btn,
|
||||
.song-card:focus-within .song-card-action-btn {
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.song-card-action-btn:hover {
|
||||
transform: scale(1.08);
|
||||
filter: brightness(1.08);
|
||||
}
|
||||
|
||||
.song-card-info {
|
||||
|
||||
Reference in New Issue
Block a user