From 6c81419057d54e2768b5ed424c120ee7621b9f47 Mon Sep 17 00:00:00 2001 From: npeter83 Date: Sat, 4 Jul 2026 23:42:13 +0200 Subject: [PATCH] feat(player): full-height glassy nav strips flanking the modal Replace the small centred prev/next arrow buttons with faint translucent glass strips that span the modal's full height, hugging each side of the card (hidden on narrow screens where there's no room). Same stepping behaviour + Shift+arrow shortcut; just a larger, easier target that reads as part of the dialog. --- frontend/src/components/PlayerModal.tsx | 46 ++++++++++++++----------- 1 file changed, 25 insertions(+), 21 deletions(-) diff --git a/frontend/src/components/PlayerModal.tsx b/frontend/src/components/PlayerModal.tsx index ba915f9..f684ea4 100644 --- a/frontend/src/components/PlayerModal.tsx +++ b/frontend/src/components/PlayerModal.tsx @@ -437,10 +437,12 @@ export default function PlayerModal({ role="dialog" aria-modal="true" > - {/* Faint prev/next zones flanking the card — step through the feed's order (or a playlist). - They fade out at the ends. stopPropagation so a click steps instead of closing. */} - {hasQueue && ( - <> + {/* The card, flanked by full-height glassy strips that step through the feed's order (or a + playlist). Each strip sits just outside the card, spans its full height, and fades out at + the ends. stopPropagation so a click steps instead of closing. Hidden on narrow screens + where there's no room beside the card. */} +
+ {hasQueue && ( - - - )} + )}
e.stopPropagation()} >
+ {hasQueue && ( + + )} +
); }