From e8083a3a608d868d62a890ab7e3c696b66a3d0eb Mon Sep 17 00:00:00 2001 From: A1300399510 Date: Wed, 27 Nov 2024 17:32:17 +0800 Subject: [PATCH] no message --- css/common.css | 3 +-- css/common.less | 5 +---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/css/common.css b/css/common.css index ff26ec1..903683a 100644 --- a/css/common.css +++ b/css/common.css @@ -57,13 +57,12 @@ body { .base { width: 640px; height: 54px; - background-color: #7b8cd3; background: linear-gradient(264.64417496deg, #dbe3fd 0%, #eef7f5 100%); box-shadow: 0px 0px 7px #7b8cd3; border-radius: 153px; position: sticky; bottom: 15px; - left: calc((100vw - 640px) / 2); + left: calc((100% - 640px) / 2); z-index: 100; } .base .left { diff --git a/css/common.less b/css/common.less index 97e0a62..66fa716 100644 --- a/css/common.less +++ b/css/common.less @@ -72,15 +72,12 @@ body { .base { width: 640px; height: 54px; - background-color: rgba(123, 140, 211, 1); background: linear-gradient(264.644174957145deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%); box-shadow: 0px 0px 7px rgba(123, 140, 211, 1); border-radius: 153px; position: sticky; bottom: 15px; - // left: 50%; - // transform: translateX(-50%); - left: calc((100vw - 640px) / 2); + left: calc((100% - 640px) / 2); z-index: 100; .left { width: 450px;