Improve layout and remove test text from video grid

Adjust max-width of category rows and remove placeholder text from category titles.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 8e9f2b36-ec9c-4acc-b19b-5304fa9790c5
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/8e9f2b36-ec9c-4acc-b19b-5304fa9790c5/7xJ1fA0
This commit is contained in:
sebastjanartic 2025-09-01 15:12:48 +00:00
parent 8829c3464b
commit 96ae4a3fc6
3 changed files with 3 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 MiB

View File

@ -240,7 +240,7 @@ function CategoryRow({ category, onVideoClick, hideScrollButtons = false }: Cate
onMouseLeave={() => setClickedVideoId(null)} onMouseLeave={() => setClickedVideoId(null)}
> >
<h2 className="text-lg font-medium text-bunny-light mb-1 mx-2 leading-tight uppercase"> <h2 className="text-lg font-medium text-bunny-light mb-1 mx-2 leading-tight uppercase">
TEST SPREMEMBA - {category.title} {category.title}
</h2> </h2>
<div className="relative overflow-hidden"> <div className="relative overflow-hidden">
@ -249,11 +249,10 @@ function CategoryRow({ category, onVideoClick, hideScrollButtons = false }: Cate
ref={scrollRef} ref={scrollRef}
className="flex gap-3 overflow-x-auto scrollbar-hide pb-0 pl-4 pr-4" className="flex gap-3 overflow-x-auto scrollbar-hide pb-0 pl-4 pr-4"
style={{ style={{
maxWidth: '800px', maxWidth: '900px',
margin: '0 auto', margin: '0 auto',
scrollbarWidth: 'none', scrollbarWidth: 'none',
msOverflowStyle: 'none', msOverflowStyle: 'none'
backgroundColor: 'rgba(255, 0, 0, 0.1)'
}} }}
> >
{category.videos.map((video, index) => ( {category.videos.map((video, index) => (