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") },