From 9973d3f0282620cb44580818ed9141f1f321097a Mon Sep 17 00:00:00 2001 From: ray_wuhao <443547225@qq.com> Date: Mon, 17 Apr 2023 14:16:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/SiderBar/Components/GlobalSeach/index.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layout/components/SiderBar/Components/GlobalSeach/index.scss b/src/layout/components/SiderBar/Components/GlobalSeach/index.scss index 2cf1af15..24e7dede 100644 --- a/src/layout/components/SiderBar/Components/GlobalSeach/index.scss +++ b/src/layout/components/SiderBar/Components/GlobalSeach/index.scss @@ -4,7 +4,7 @@ $globalSearchWidth: 650px; position: fixed; width: $globalSearchWidth; left: 50%; - margin-left: -$globalSearchWidth / 2; + margin-left: calc(0px - $globalSearchWidth / 2); top: 60px; & .global-seach__wrapper {