From d0418eb39038592346ee29de9e3d4ed431e0ca6f Mon Sep 17 00:00:00 2001 From: novatorem Date: Sun, 19 Jul 2020 22:06:54 -0400 Subject: [PATCH] Fix song/artist --- api/spotify-playing.py | 2 +- api/templates/spotify.html.j2 | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api/spotify-playing.py b/api/spotify-playing.py index b6811f2..7bb2018 100644 --- a/api/spotify-playing.py +++ b/api/spotify-playing.py @@ -75,7 +75,7 @@ def get_now_playing(): return repsonse_json -def generate_css_bar(num_bar=75): +def generate_css_bar(num_bar=80): css_bar = "" left = 1 for i in range(1, num_bar + 1): diff --git a/api/templates/spotify.html.j2 b/api/templates/spotify.html.j2 index 44209e0..744d823 100644 --- a/api/templates/spotify.html.j2 +++ b/api/templates/spotify.html.j2 @@ -40,15 +40,15 @@ font-size: 24px; color: #fff; text-align: left; - margin-top: 5px; + margin-top: 65px; } .song { font-size: 20px; color: #b3b3b3; text-align: left; - margin-top: 45px; - margin-bottom: 15px; + margin-top: 15px; + margin-bottom: 5px; } .logo {