From 4718732badf05b80c2320114f98fe6c4bc66e3e2 Mon Sep 17 00:00:00 2001 From: heiyexing Date: Mon, 27 Nov 2023 19:27:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=AE=98=E6=96=B9?= =?UTF-8?q?=E5=9B=BE=E5=B1=82=E6=8E=A7=E4=BB=B6=E6=A0=B7=E5=BC=8F=E9=97=AE?= =?UTF-8?q?=E9=A2=98=20(#32)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../map-control-group/official-layer-control/styles.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/map-control-group/official-layer-control/styles.ts b/src/components/map-control-group/official-layer-control/styles.ts index e2c374d..5286b8f 100644 --- a/src/components/map-control-group/official-layer-control/styles.ts +++ b/src/components/map-control-group/official-layer-control/styles.ts @@ -4,13 +4,14 @@ import { theme } from 'antd'; const useStyle = () => { const { useToken } = theme; const { token } = useToken(); - const { colorBgElevated, colorBgContainer, colorText, colorIcon } = token; + const { colorBgElevated, colorBgContainer, colorText, colorIcon, boxShadow } = token; return { mapTab: css` background-color: ${colorBgElevated}; border-radius: 4px; display: flex; align-items: center; + box-shadow: ${boxShadow}; &:hover .add-map { display: block; }