diff --git a/Changelog.md b/Changelog.md index 87e8220fb..00026ba6c 100644 --- a/Changelog.md +++ b/Changelog.md @@ -29,6 +29,7 @@ - 修复全局模式默认停在 `DIRECT` 或 `REJECT` 导致流量未经代理,现自动切换到第一个策略组 - 修复订阅中未加引号的 REALITY `short-id`(如 `1234e123`)被误读为数字,导致订阅无法启用 - 修复订阅中唯一的代理组名为 `GLOBAL` 或没有代理组时,规则模式下代理页面显示「未获取到代理信息」 +- 修复窗口较窄时,首页「当前节点」卡片中过长的节点名把延迟标签挤出卡片 **🍎 macOS** diff --git a/src/components/home/current-proxy-card.tsx b/src/components/home/current-proxy-card.tsx index e537c8594..cf41a67d3 100644 --- a/src/components/home/current-proxy-card.tsx +++ b/src/components/home/current-proxy-card.tsx @@ -1008,8 +1008,13 @@ export const CurrentProxyCard = () => { border: `1px solid ${alpha(theme.palette.primary.main, 0.1)}`, }} > - - + + {currentProxy?.name ?? t('home.components.currentProxy.labels.noActiveNode')} @@ -1063,6 +1068,7 @@ export const CurrentProxyCard = () => { size="small" label={delayManager.formatDelay(currentDelay)} color={convertDelayColor(currentDelay)} + sx={{ flexShrink: 0, ml: 1 }} /> )}