From 025b676b0b705272a7f9e7a0a3f7985218e89eae Mon Sep 17 00:00:00 2001 From: t8y2 <1156263951@qq.com> Date: Tue, 5 May 2026 17:34:11 +0800 Subject: [PATCH] feat(AppTabBar): improve tab scrolling behavior and enhance tab styling --- src/components/layout/AppTabBar.vue | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/components/layout/AppTabBar.vue b/src/components/layout/AppTabBar.vue index 3cc1809aa3..64f64bcd4b 100644 --- a/src/components/layout/AppTabBar.vue +++ b/src/components/layout/AppTabBar.vue @@ -35,7 +35,7 @@ watch( if (!container) return; const activeEl = container.querySelector('[data-active-tab="true"]'); if (activeEl) { - activeEl.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "nearest" }); + activeEl.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "center" }); } updateScrollButtons(); }); @@ -44,7 +44,7 @@ watch(