Stilade upp frontend

This commit is contained in:
2026-04-07 10:19:32 +02:00
parent 3621bed978
commit 069cab90b1
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
.sro-block img {
width: 300px;
}
.sro-block .song {
font-weight: bold;
}
.sro-block .last_played {
color: #ff8f3f;
}

View File

@@ -105,8 +105,8 @@ function sro_render_block() {
return "
<div class='sro-block'>
<img src='$img' />
<div><strong>$artist $track</strong></div>
<div>Spelades för $mins minuter sedan</div>
<div class='song'>$artist $track</div>
<div class='last_played'>Spelades för $mins minuter sedan</div>
</div>
";
}