From b247a8dcc66e217549f38e4ec68f39cda7d02cc5 Mon Sep 17 00:00:00 2001 From: jingrow Date: Sun, 28 Dec 2025 02:53:28 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BE=8E=E5=8C=96=E7=A7=BB=E5=8A=A8=E7=AB=AFhe?= =?UTF-8?q?ader=E6=8E=92=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dashboard/src2/App.vue | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/dashboard/src2/App.vue b/dashboard/src2/App.vue index d9bf431..0732239 100644 --- a/dashboard/src2/App.vue +++ b/dashboard/src2/App.vue @@ -342,7 +342,7 @@ provide('session', session); .mobile-header-content { display: flex; align-items: center; - justify-content: space-between; + justify-content: flex-start; padding: 12px 16px; gap: 12px; } @@ -354,15 +354,16 @@ provide('session', session); } .mobile-user-info-wrapper { - flex: 1; - display: flex; + display: inline-flex; align-items: center; - gap: 6px; + gap: 4px; cursor: pointer; padding: 6px 8px; border-radius: 6px; transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1); + flex-shrink: 1; min-width: 0; + max-width: calc(100% - 80px); } .mobile-user-info-wrapper:hover { @@ -374,13 +375,13 @@ provide('session', session); } .mobile-user-info { - flex: 1; font-size: 14px; font-weight: 500; color: #1a1a1a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; + flex-shrink: 1; min-width: 0; } @@ -397,6 +398,7 @@ provide('session', session); .mobile-menu-button { flex-shrink: 0; + margin-left: auto; } /* 移动端侧边栏样式优化 */