From c1dc0daedb878e16daed4143fda1d46e119d1beb Mon Sep 17 00:00:00 2001 From: JSR Date: Wed, 18 Mar 2026 19:57:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=9626=E9=94=AE=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E5=B0=8F=E9=94=AE=E7=9B=98=E5=B0=BA=E5=AF=B8=E5=B9=B6=E5=B1=85?= =?UTF-8?q?=E4=B8=AD=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Home.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/components/Home.tsx b/src/components/Home.tsx index 0692ed8..312ccea 100644 --- a/src/components/Home.tsx +++ b/src/components/Home.tsx @@ -908,8 +908,9 @@ export const Home: React.FC<{ canEdit: boolean }> = ({ canEdit }) => { style={{ position: "absolute", top: "calc(100% + 8px)", - left: 0, - width: searchKeyboardLayout === "qwerty26" ? "260px" : "220px", + left: "50%", + transform: "translateX(-50%)", + width: searchKeyboardLayout === "qwerty26" ? "288px" : "220px", padding: "8px", borderRadius: "10px", border: "1px solid var(--ss-border-color)", @@ -926,7 +927,7 @@ export const Home: React.FC<{ canEdit: boolean }> = ({ canEdit }) => { style={{ display: "grid", gridTemplateColumns: `repeat(${row.length}, 1fr)`, - gap: "6px", + gap: "7px", }} > {row.map((keyItem) => ( @@ -934,7 +935,7 @@ export const Home: React.FC<{ canEdit: boolean }> = ({ canEdit }) => { key={keyItem} size="small" onClick={() => handleSearchKeyPress(keyItem)} - style={{ height: "28px", fontSize: "11px", padding: 0 }} + style={{ height: "32px", fontSize: "12px", padding: 0 }} > {keyItem === "⌫" ? "⌫" : keyItem.toUpperCase()}