From cd625430b24ae3657191f08b917cabe4dc175a01 Mon Sep 17 00:00:00 2001 From: kangfenmao Date: Wed, 20 Nov 2024 11:01:02 +0800 Subject: [PATCH] style: adjusted layout and styling for searchpopup component --- src/renderer/src/components/Popups/SearchPopup.tsx | 2 +- src/renderer/src/pages/history/HistoryPage.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/renderer/src/components/Popups/SearchPopup.tsx b/src/renderer/src/components/Popups/SearchPopup.tsx index 0983f1b2..545f1ad1 100644 --- a/src/renderer/src/components/Popups/SearchPopup.tsx +++ b/src/renderer/src/components/Popups/SearchPopup.tsx @@ -32,7 +32,7 @@ const PopupContainer: React.FC = ({ resolve }) => { onCancel={onCancel} afterClose={onClose} title={null} - width="75vw" + width="920px" transitionName="ant-move-down" styles={{ content: { padding: 0, border: '1px solid var(--color-border)' }, diff --git a/src/renderer/src/pages/history/HistoryPage.tsx b/src/renderer/src/pages/history/HistoryPage.tsx index 2f6eb524..b2c34bc7 100644 --- a/src/renderer/src/pages/history/HistoryPage.tsx +++ b/src/renderer/src/pages/history/HistoryPage.tsx @@ -119,7 +119,7 @@ const HeaderLeft = styled.div` flex-direction: row; align-items: center; position: absolute; - top: 8px; + top: 12px; left: 15px; ` @@ -129,8 +129,8 @@ const MenuIcon = styled.div` flex-direction: row; justify-content: center; align-items: center; - width: 36px; - height: 36px; + width: 33px; + height: 33px; border-radius: 50%; &:hover { background-color: var(--color-background);