From 8c30a7d3aef053387857e3ab8185fbf8bd0f0178 Mon Sep 17 00:00:00 2001 From: liuziting <57311725+liu-ziting@users.noreply.github.com> Date: Wed, 21 Jan 2026 22:11:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=A7=BB=E5=8A=A8=E7=AB=AF?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 27 +++++++++++++++++++++------ src/components/BottomBar.vue | 16 +++++++++++++++- src/i18n/index.ts | 4 ++-- 3 files changed, 38 insertions(+), 9 deletions(-) diff --git a/src/App.vue b/src/App.vue index e108fb8..6e0df4c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -232,24 +232,39 @@ body { @apply !bg-white !border-slate-200 !shadow-xl !rounded-lg !left-4 md:!left-6 !bottom-28 md:!bottom-6 !transition-all; } +@media (max-width: 767px) { + .vue-flow__controls { + margin-left: 0 !important; + left: 1rem !important; + } +} + .vue-flow__controls-button { @apply !border-slate-100 !fill-slate-400 hover:!bg-slate-50 !transition-colors; } .vue-flow__minimap { @apply !bg-white/80 !backdrop-blur-md !border-slate-200 !shadow-2xl !rounded-xl !overflow-hidden !transition-all; - margin: 1.5rem !important; - bottom: 80px !important; - right: 0 !important; - width: 180px !important; - height: 120px !important; + bottom: 130px !important; + right: 1rem !important; + width: 140px !important; + height: 100px !important; + margin: 0 !important; +} + +.vue-flow__minimap svg { + display: block !important; + width: 100% !important; + height: 100% !important; } @media (min-width: 768px) { .vue-flow__minimap { - bottom: 0 !important; + bottom: 1.5rem !important; + right: 1.5rem !important; width: 220px !important; height: 160px !important; + margin: 0 !important; } } diff --git a/src/components/BottomBar.vue b/src/components/BottomBar.vue index f541b71..375ff65 100644 --- a/src/components/BottomBar.vue +++ b/src/components/BottomBar.vue @@ -6,7 +6,7 @@ */ // 图标:输入提示与执行态 -import { RefreshCw, Terminal, Zap } from 'lucide-vue-next' +import { Github, RefreshCw, Terminal, Zap } from 'lucide-vue-next' /** * props: @@ -54,5 +54,19 @@ const emit = defineEmits<{ + +