From 4e2e3e1f7467a1529702b0956b022aef51868e51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=92=E8=A8=80?= Date: Wed, 4 Dec 2024 12:21:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B0=8F=E7=A8=8B=E5=BA=8F=E7=A0=81?= =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AF=E5=B8=83=E5=B1=80=E5=85=BC=E5=AE=B9?= =?UTF-8?q?=20(#293)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xiaomusic/static/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xiaomusic/static/index.html b/xiaomusic/static/index.html index 7152de4..41ad9ed 100644 --- a/xiaomusic/static/index.html +++ b/xiaomusic/static/index.html @@ -70,8 +70,9 @@ .options a::before{ content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background-color: #ebedec; transform-origin: bottom right; transform: scaleX(0); transition: transform 0.3s ease;} .options a:hover::before{ transform-origin: bottom left; transform: scaleX(1);} .options a:hover{ color:#ebedec;} .weapp { position: relative; text-align: center; margin: 10px auto; } - .weapp iframe { display: none; border: none;position: absolute; top: -80px; right: 100px; } .weapp:hover iframe { display: block; } + .weapp iframe { display: none; border: none; position: absolute; top: -80px; right: 100px; } + @media screen and (max-width: 510px) { .weapp iframe { position: fixed; top: 40%; left: 50%; transform: translate(-50%, 0); } } footer{ display: flex; justify-content: center; color: #4c5870;} footer a{ color:inherit; text-decoration: none; margin: auto 10px;}