Skip to content

Commit

Permalink
fix(song): separator thingy
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaraa committed Jun 2, 2024
1 parent 57f6618 commit c6d5978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/components/song/song.templ
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ templ Song(s entities.Song, additionalData []string, additionalOptions []templ.C
<div class={ "flex", "flex-col", "lg:flex-row", "gap-x-2", "gap-y-1", "lg:gap-y-2", "w-auto", "justify-start" }>
<p class={ "w-fit", "text-sm", "font-normal" }>By { s.Artist }</p>
for i, info := range additionalData {
if i < len(additionalData) {
if i < len(additionalData) && info != "" {
<span class={ "hidden", "lg:flex", "justify-center", "items-center", "text-lg", "h-[20px]" }>•</span>
}
if info != "" {
Expand Down

0 comments on commit c6d5978

Please sign in to comment.