From 141d073cc34254e11b5c2c1d3d8678ba9919bf3b Mon Sep 17 00:00:00 2001 From: JSR Date: Thu, 19 Mar 2026 18:03:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=A7=BB=E5=8A=A8=E7=AB=AF?= =?UTF-8?q?=E4=B8=BB=E9=A1=B5=E7=AD=9B=E9=80=89=E6=A0=8F=E8=B6=85=E5=AE=BD?= =?UTF-8?q?=E6=BA=A2=E5=87=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Home.tsx | 35 +++++++++++++++++++++++++++-------- 1 file changed, 27 insertions(+), 8 deletions(-) diff --git a/src/components/Home.tsx b/src/components/Home.tsx index ab015c9..a8cadac 100644 --- a/src/components/Home.tsx +++ b/src/components/Home.tsx @@ -1740,8 +1740,23 @@ export const Home: React.FC = ({ canEdit, isPortraitMode = false }) =

- -
+ +
setSearchKeyword(e.target.value)} @@ -1757,16 +1772,20 @@ export const Home: React.FC = ({ canEdit, isPortraitMode = false }) = placeholder={t("home.searchPlaceholder")} prefix={} allowClear - style={{ width: "220px" }} + style={{ width: "100%" }} /> {!disableSearchKeyboard && showPinyinKeyboard && (
= ({ canEdit, isPortraitMode = false }) = setLayoutType(v as LayoutType)} - style={{ width: "140px" }} + style={{ width: isPortraitMode ? "calc(50% - 8px)" : "140px", minWidth: "120px" }} options={[ { value: "grouped", label: t("home.layoutBy.grouped") }, { value: "squareGrid", label: t("home.layoutBy.squareGrid") },