From 751bf8d900a33d3808e00c6a3a708588dce718db Mon Sep 17 00:00:00 2001 From: gnehs Date: Thu, 26 Jul 2018 23:27:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=BE=A9=E8=A9=AD=E7=95=B0=20overflow?= =?UTF-8?q?=20#=E8=A2=AB=20MDUI=20=E9=9B=B7...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/style.css | 12 ++++-------- package.json | 2 +- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/css/style.css b/css/style.css index 99f50a70..d13a587c 100644 --- a/css/style.css +++ b/css/style.css @@ -1,8 +1,3 @@ -body { - max-width: 100vw; - overflow-x: hidden; -} - header.mdui-appbar.mdui-appbar-fixed { z-index: 5001; } @@ -223,6 +218,10 @@ header.mdui-appbar.mdui-appbar-fixed { object-fit: cover; } +.mdui-slider input[type="range"] { + left: 0 +} + @media screen and (min-width: 510px) { [data-player] { margin-top: 32px; @@ -285,9 +284,6 @@ header.mdui-appbar.mdui-appbar-fixed { [data-player]>.mdui-card { --main-size: 300px; } - .mdui-slider input[type="range"] { - left: 0 - } } [data-player]>.info>[data-lrc] { diff --git a/package.json b/package.json index d8f2e70a..ec145bd0 100644 --- a/package.json +++ b/package.json @@ -29,4 +29,4 @@ "pug": "^2.0.3", "request": "^2.87.0" } -} \ No newline at end of file +}