From 8ef2facc0ce98b0dfdd7fab7a15386abfc5e43eb Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Sat, 30 Aug 2025 13:14:13 +0000 Subject: [PATCH] Hide scroll buttons on mobile devices for better interaction Modify the netflix-grid component to conditionally render left and right scroll buttons using Tailwind CSS's 'hidden md:flex' class, ensuring they are only visible on medium-sized screens and larger. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 074b0e4c-6171-43bd-aa98-f9e04623ca14 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/074b0e4c-6171-43bd-aa98-f9e04623ca14/iazasnP --- client/src/components/netflix-grid.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/src/components/netflix-grid.tsx b/client/src/components/netflix-grid.tsx index e4772c6..2278ae6 100644 --- a/client/src/components/netflix-grid.tsx +++ b/client/src/components/netflix-grid.tsx @@ -195,23 +195,23 @@ function CategoryRow({ category, onVideoClick }: CategoryRowProps) {
- {/* Left scroll button - only on edge */} + {/* Left scroll button - only on desktop */} - {/* Right scroll button - only on edge */} + {/* Right scroll button - only on desktop */}