From d79af227dda5e8e90ff0b89d5dfbfac53df50920 Mon Sep 17 00:00:00 2001 From: sijinhui Date: Wed, 20 Mar 2024 10:14:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=88=A0=E9=99=A4=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/home.module.scss | 8 +++++++- app/components/sidebar.tsx | 5 ++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/app/components/home.module.scss b/app/components/home.module.scss index a19c03d77..be83e548c 100644 --- a/app/components/home.module.scss +++ b/app/components/home.module.scss @@ -105,8 +105,11 @@ .mobile { display: none; } +.browser { + display: block; +} -@media only screen and (max-width: 800px) { +@media only screen and (max-width: 600px) { .container { min-height: unset; min-width: unset; @@ -131,6 +134,9 @@ .mobile { display: block; } + .browser { + display: none; + } } .sidebar-header { diff --git a/app/components/sidebar.tsx b/app/components/sidebar.tsx index cd850c95a..df6e02535 100644 --- a/app/components/sidebar.tsx +++ b/app/components/sidebar.tsx @@ -230,9 +230,8 @@ export function SideBar(props: { className?: string }) { } shadow /> -
+
{ if (await showConfirm(Locale.Settings.Danger.Clear.Confirm)) { chatStore.clearAllData(); @@ -240,7 +239,7 @@ export function SideBar(props: { className?: string }) { }} title={Locale.Settings.Danger.Clear.Title} icon={} - // type="danger" + type="danger" className={styles["custom-sidebar-clear-button"]} />