From bdb1e679232f4cecc1f51728eadbd5d13dd36ae6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B6=B5=E6=9B=A6?= Date: Thu, 15 Jan 2026 17:09:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=A1=B5=E9=9D=A2=E5=B8=83?= =?UTF-8?q?=E5=B1=80=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xiaomusic/static/default/main.css | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/xiaomusic/static/default/main.css b/xiaomusic/static/default/main.css index 1ad8fb3..8a71e6b 100644 --- a/xiaomusic/static/default/main.css +++ b/xiaomusic/static/default/main.css @@ -4,12 +4,18 @@ body { display: flex; flex-direction: column; align-items: center; - + justify-content: center; + min-height: 100vh; margin: 0; padding: 0; + padding-bottom: 60px; } .index_page { - height: 100vh; + min-height: 100vh; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; } .player { @@ -206,12 +212,21 @@ progress::-webkit-progress-value { font-size: 48px; } -.footer { - position: absolute; - bottom: 20px; - font-size: 14px; - color: #555; - user-select: none; +.footer { + position: fixed; + bottom: 20px; + left: 50%; + transform: translateX(-50%); + font-size: 14px; + color: #555; + user-select: none; +} + + + + + + } .timer-tooltip {