From bf0dafabe2d5696240a390736071de4f10bce343 Mon Sep 17 00:00:00 2001 From: GyDi Date: Sat, 6 Aug 2022 01:44:33 +0800 Subject: [PATCH] fix: icon style --- src/components/setting/config-viewer.tsx | 6 +++++- src/components/setting/core-switch.tsx | 2 +- src/components/setting/setting-system.tsx | 1 + src/components/setting/sysproxy-tooltip.tsx | 6 +++++- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/components/setting/config-viewer.tsx b/src/components/setting/config-viewer.tsx index 4a5a672..e28ba3b 100644 --- a/src/components/setting/config-viewer.tsx +++ b/src/components/setting/config-viewer.tsx @@ -68,7 +68,11 @@ const ConfigViewer = () => { - setOpen(true)} /> + setOpen(true)} + /> ); }; diff --git a/src/components/setting/core-switch.tsx b/src/components/setting/core-switch.tsx index db70436..5490575 100644 --- a/src/components/setting/core-switch.tsx +++ b/src/components/setting/core-switch.tsx @@ -41,7 +41,7 @@ const CoreSwitch = () => { <> { const { clientX, clientY } = event; setPosition({ top: clientY, left: clientX }); diff --git a/src/components/setting/setting-system.tsx b/src/components/setting/setting-system.tsx index 36fface..ad8a365 100644 --- a/src/components/setting/setting-system.tsx +++ b/src/components/setting/setting-system.tsx @@ -90,6 +90,7 @@ const SettingSystem = ({ onError }: Props) => { serviceStatus === "installed") && ( setServiceOpen(true)} /> )} diff --git a/src/components/setting/sysproxy-tooltip.tsx b/src/components/setting/sysproxy-tooltip.tsx index 08b5633..5e3b68e 100644 --- a/src/components/setting/sysproxy-tooltip.tsx +++ b/src/components/setting/sysproxy-tooltip.tsx @@ -43,7 +43,11 @@ const SysproxyTooltip = () => { title={showTitle} arrow > - + );