From 4a21b2bf6d510e7c632a32da6e147a5947137a52 Mon Sep 17 00:00:00 2001
From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com>
Date: Sat, 30 Aug 2025 23:11:15 +0000
Subject: [PATCH] Improve navigation buttons for video playback
Update the styling and size of the previous and next video navigation buttons on the VideoPage component, making them more visually appealing and user-friendly.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 344ec1e0-1186-4058-bbff-2e9619a7b1e0
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/344ec1e0-1186-4058-bbff-2e9619a7b1e0/zJYuV6w
---
client/src/pages/VideoPage.tsx | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/client/src/pages/VideoPage.tsx b/client/src/pages/VideoPage.tsx
index 2d5f21b..9105ab6 100644
--- a/client/src/pages/VideoPage.tsx
+++ b/client/src/pages/VideoPage.tsx
@@ -420,12 +420,11 @@ export default function VideoPage() {
e.stopPropagation();
navigateToVideo('prev');
}}
- className="absolute left-2 top-1/2 transform -translate-y-1/2 bg-black/90 hover:bg-black text-white border-none p-4 rounded-full shadow-xl flex items-center justify-center"
- style={{ zIndex: 9999, pointerEvents: 'auto', display: 'flex' }}
+ className="absolute left-1 top-1/2 transform -translate-y-1/2 bg-black/70 hover:bg-black/90 text-white border-none p-3 rounded-full z-20 shadow-lg hidden md:flex items-center justify-center"
size="sm"
data-testid="button-prev-video"
>
-
+
>
)}