From 2fa0f6a28320f325f72c2053eb7830b5193a248b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=B6=9B?= Date: Thu, 11 Jul 2024 22:48:00 +0800 Subject: [PATCH] =?UTF-8?q?feat(compo):=E7=A1=AE=E5=AE=9A=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E7=9A=84=E6=A0=B7=E5=BC=8F=E5=A6=82=E4=BD=95=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WindowMoveHandler/WindowMoveHandler.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/components/WindowMoveHandler/WindowMoveHandler.tsx b/src/components/WindowMoveHandler/WindowMoveHandler.tsx index b113abe..d4bac7c 100644 --- a/src/components/WindowMoveHandler/WindowMoveHandler.tsx +++ b/src/components/WindowMoveHandler/WindowMoveHandler.tsx @@ -1,15 +1,15 @@ import { css } from "@emotion/react"; import styled from "@emotion/styled"; -const Handler = styled.div( - ({ theme }) => css` - position: fixed; - top: 0; - left: 0; - right: 0; - height: ${theme.spacings.xxs * 24}px; - z-index: 1; - ` +const Handler = styled.div(({ theme }) => + css({ + position: "fixed", + top: 0, + left: 0, + right: 0, + height: theme.spacings.xxs * 24, + zIndex: 1, + }) ); export function WindowMoveHandler() {