From 4fee3688ea892b5ee6c9ebc44fe735d123d71630 Mon Sep 17 00:00:00 2001 From: Gabe Date: Fri, 17 Oct 2025 10:53:13 +0800 Subject: [PATCH] fix: popup width change to 360 --- src/views/Action/index.js | 2 +- src/views/Popup/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/Action/index.js b/src/views/Action/index.js index 61c30f6..1830b30 100644 --- a/src/views/Action/index.js +++ b/src/views/Action/index.js @@ -162,7 +162,7 @@ export default function Action({ translator, fab }) { }, []); const popProps = useMemo(() => { - const width = Math.min(windowSize.w, 300); + const width = Math.min(windowSize.w, 360); const height = Math.min(windowSize.h, 442); const left = (windowSize.w - width) / 2; const top = (windowSize.h - height) / 2; diff --git a/src/views/Popup/index.js b/src/views/Popup/index.js index 2c560a7..e401162 100644 --- a/src/views/Popup/index.js +++ b/src/views/Popup/index.js @@ -231,7 +231,7 @@ export default function Popup({ setShowPopup, translator }) { if (!rule) { return ( - + {!translator && ( <>