From 37a7baecae979f556b2218ba496a2ff2f6d725d1 Mon Sep 17 00:00:00 2001 From: Nathan Shan Date: Fri, 23 Oct 2026 21:05:24 +0800 Subject: [PATCH] =?UTF-8?q?fix(web):=20=E6=8C=89=E5=8F=AF=E7=94=A8?= =?UTF-8?q?=E5=AE=BD=E5=BA=A6=E5=88=87=E6=8D=A2=E7=94=A8=E9=87=8F=E9=A1=B5?= =?UTF-8?q?=E7=AD=9B=E9=80=89=E6=8E=A7=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 根据标题栏容器而非视口宽度切换紧凑控件及日期标签,避免宽侧栏下覆盖面包屑。 - 保持筛选控件宽度;隔离客户端验证最窄、阈值两侧及宽布局,确认指标和周期选择不丢失。 - 变更范围的格式、lint、未使用代码和类型检查通过;前后截图单独上传。 --- apps/web/src/components/usage/UsagePage.tsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/apps/web/src/components/usage/UsagePage.tsx b/apps/web/src/components/usage/UsagePage.tsx index fd61b63af4b79..6552e10c41b3d 100644 --- a/apps/web/src/components/usage/UsagePage.tsx +++ b/apps/web/src/components/usage/UsagePage.tsx @@ -364,7 +364,7 @@ export function UsagePage() { ? `${formatDateTimeShort(shownWindow.sinceTime, shownWindow.timeZone, hour12)} to ${formatDateTimeShort(shownWindow.untilTime, shownWindow.timeZone, hour12)}` : `${formatDayShort(shownWindow.sinceDay)} to ${formatDayShort(shownWindow.untilDay)}`; const topbarContent = ( -
+

Usage

@@ -393,11 +393,11 @@ export function UsagePage() {
{!showingLimits ? ( - + {windowLabel} ) : null} -
+
-
+