From 356ff49fbd5be4e699b59e9e232af1cd17ed5d89 Mon Sep 17 00:00:00 2001 From: dakai Date: Fri, 14 Apr 2023 09:23:10 +0800 Subject: [PATCH] =?UTF-8?q?New=20Chat=20Button=E6=96=87=E5=AD=97=E9=9A=8F?= =?UTF-8?q?=E7=9D=80=E4=BE=A7=E8=BE=B9=E6=A0=8F=E5=8F=98=E7=AA=84=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E9=9A=90=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/home.module.scss | 2 +- app/components/home.tsx | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app/components/home.module.scss b/app/components/home.module.scss index 1d9aa2151..fa36d2b97 100644 --- a/app/components/home.module.scss +++ b/app/components/home.module.scss @@ -333,7 +333,7 @@ .sidebar-action-collapse { margin-top: 15px; } -.sidebar-action:not(:last-child) { +.sidebar-action { margin-right: 15px; } .chat { diff --git a/app/components/home.tsx b/app/components/home.tsx index 719821c42..0351ce179 100644 --- a/app/components/home.tsx +++ b/app/components/home.tsx @@ -293,13 +293,17 @@ function _Home() {
} text={ - isMobileScreen() + chatStore.config.sidebarWidth <= 285 + ? undefined + : isMobileScreen() ? undefined : sidebarCollapse ? undefined