Improve category display with adjusted text height for better visual spacing
Update `CategoryRow` component to include a `h2` element for the category title with specific styling for improved visual presentation and spacing. 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
This commit is contained in:
parent
a947c01320
commit
7cff7d09a2
@ -191,7 +191,9 @@ function CategoryRow({ category, onVideoClick }: CategoryRowProps) {
|
|||||||
className="relative group"
|
className="relative group"
|
||||||
onMouseLeave={() => setClickedVideoId(null)}
|
onMouseLeave={() => setClickedVideoId(null)}
|
||||||
>
|
>
|
||||||
|
<h2 className="text-lg font-medium text-bunny-light mb-1 px-4 leading-tight">
|
||||||
|
{category.title}
|
||||||
|
</h2>
|
||||||
<div className="relative overflow-hidden">
|
<div className="relative overflow-hidden">
|
||||||
{/* Left scroll button - only on desktop */}
|
{/* Left scroll button - only on desktop */}
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user