fix: popup width change to 360

This commit is contained in:
Gabe
2025-10-17 10:53:13 +08:00
parent b9693436bb
commit 4fee3688ea
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -231,7 +231,7 @@ export default function Popup({ setShowPopup, translator }) {
if (!rule) {
return (
<Box minWidth={300}>
<Box minWidth={360}>
{!translator && (
<>
<Header />