diff --git a/templates/player.html b/templates/player.html
index f40d7ea..cadb356 100644
--- a/templates/player.html
+++ b/templates/player.html
@@ -86,7 +86,7 @@
padding:1rem 1.5rem;
margin:1rem 0;
white-space:pre-wrap;
- line-height:1.7;
+ line-height:1.5;
font-size:1.05rem;
}
.lyrics h2{
@@ -98,7 +98,11 @@
color:#60a5fa;
font-weight:700;
display:block;
- margin-top:1rem;
+ margin-top:.6rem;
+ }
+ .lyrics .lyric-line{
+ display:block;
+ margin:.1rem 0;
}
@@ -113,10 +117,9 @@
{% for line in req.suno_lyrics.splitlines() %}
{% if line.startswith('[') and line.endswith(']') %}
{{ line }}
- {% else %}
- {{ line }}
+ {% elif line.strip() %}
+ {{ line }}
{% endif %}
- {% if not loop.last %}
{% endif %}
{% endfor %}
{% endif %}