From 4a55dec7492fc5622e38b61c4138642b54a9eb6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Fri, 24 Jul 2020 13:55:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96layer=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layer/index.wc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layer/index.wc b/src/layer/index.wc index c367824..6106923 100644 --- a/src/layer/index.wc +++ b/src/layer/index.wc @@ -40,12 +40,12 @@ .layer { overflow: hidden; flex: 0 auto; - position: fixed; + position: absolute; z-index: 65535; border-radius: 2px; color: #666; font-size: 14px; - background: rgba(255, 255, 255, 0.7); + background: rgba(255, 255, 255, 0.8); box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3); transition: opacity 0.2s ease-in-out, left 0.2s ease-in-out, right 0.2s ease-in-out, top 0.2s ease-in-out, bottom 0.2s ease-in-out;