From 886e390d0995225ccd786a85df37cddb62ccdfc4 Mon Sep 17 00:00:00 2001 From: SuperBFG7 Date: Thu, 17 Jun 2021 08:53:22 +0200 Subject: [PATCH] Separate song info box and queue list Fix position of song info box and control buttons (don't scroll out of screen) --- htdocs/css/mpd.css | 6 +++++- htdocs/index.html | 12 +++++++----- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/htdocs/css/mpd.css b/htdocs/css/mpd.css index c1e9d46..21fe414 100644 --- a/htdocs/css/mpd.css +++ b/htdocs/css/mpd.css @@ -27,7 +27,6 @@ button { #breadcrump { display: block; - overflow: auto; white-space: nowrap; } @@ -165,3 +164,8 @@ button { text-decoration: none; color: black; } + +.sticky { + position: sticky; + top: 55px; +} diff --git a/htdocs/index.html b/htdocs/index.html index d9825ca..0fed0d4 100644 --- a/htdocs/index.html +++ b/htdocs/index.html @@ -142,7 +142,7 @@
-
+
Queue @@ -165,8 +165,10 @@
- - +
+ + +
@@ -180,7 +182,7 @@ Album Title Length - +
@@ -194,7 +196,7 @@
-
+