ui: tighten lyrics spacing on player page
This commit is contained in:
parent
7a9c8b8240
commit
5757a768d5
1 changed files with 8 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
|
@ -113,10 +117,9 @@
|
|||
{% for line in req.suno_lyrics.splitlines() %}
|
||||
{% if line.startswith('[') and line.endswith(']') %}
|
||||
<span class="section-label">{{ line }}</span>
|
||||
{% else %}
|
||||
{{ line }}
|
||||
{% elif line.strip() %}
|
||||
<span class="lyric-line">{{ line }}</span>
|
||||
{% endif %}
|
||||
{% if not loop.last %}<br>{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
|||
Reference in a new issue