Skip to content

Commit

Permalink
chore(song): make all song's details clickable
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaraa committed May 26, 2024
1 parent c473a26 commit 095525d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions views/components/song/song.templ
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,13 @@ templ Song(s entities.Song, additionalData []string, additionalOptions []templ.C
</div>
<!-- title, channel title, and description -->
<div class={ "w-[165px]", "md:w-[330px]", "lg:min-w-[450px]", "xl:min-w-[650px]" }>
<div class={ "w-full", "h-full", "flex", "gap-y-3", "items-center", "flex-col", "font-Ubuntu", "text-secondary" }>
<div
class={ "w-full", "h-full", "flex", "gap-y-3", "items-center", "flex-col", "font-Ubuntu", "text-secondary", "cursor-pointer" }
onClick={ onClick }
>
<h3
class={ "w-full", "text-lg", "md:text-xl", "font-bold", "cursor-pointer", "overflow-hidden", "text-nowrap", "text-ellipsis" }
class={ "w-full", "text-lg", "md:text-xl", "font-bold", "overflow-hidden", "text-nowrap", "text-ellipsis" }
title={ s.Title }
onClick={ onClick }
>
{ s.Title }
</h3>
Expand Down

0 comments on commit 095525d

Please sign in to comment.