From 9bc7ac7560555a8e9c71bd8b9bd82ebe437db99e Mon Sep 17 00:00:00 2001 From: root Date: Wed, 29 Apr 2026 11:51:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=A1=B5=E9=9D=A2=E5=BA=95=E9=83=A8?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20safe-area-inset-bottom=20=E9=81=BF?= =?UTF-8?q?=E5=85=8D=E8=A2=AB=E6=B5=8F=E8=A7=88=E5=99=A8=E4=BD=8E=E6=A0=8F?= =?UTF-8?q?=E9=81=AE=E6=8C=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/static/graph.html | 1 + ui/templates/settings.html | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/static/graph.html b/ui/static/graph.html index cc72579..478c0cf 100644 --- a/ui/static/graph.html +++ b/ui/static/graph.html @@ -299,6 +299,7 @@ } .chat-input-area { padding: 10px 12px; + padding-bottom: max(10px, calc(10px + env(safe-area-inset-bottom))); border-top: 1px solid rgba(100, 100, 255, 0.15); display: flex; gap: 6px; diff --git a/ui/templates/settings.html b/ui/templates/settings.html index 5e8fdd2..6c331f7 100644 --- a/ui/templates/settings.html +++ b/ui/templates/settings.html @@ -29,6 +29,7 @@ @keyframes twinkle { 0% { opacity: 0.5; } 100% { opacity: 1; } } .settings-container { position: relative; z-index: 1; width: 480px; padding: 40px; + padding-bottom: max(40px, calc(40px + env(safe-area-inset-bottom))); background: rgba(10, 10, 26, 0.9); border-radius: 12px; border: 1px solid rgba(100, 100, 255, 0.3); @@ -287,7 +288,7 @@
- 修改后需重启服务生效:systemctl restart trulymem-web + 保存后服务将自动重启,无需手动操作