feat(frontend): 压缩状态监控历史图布局

收紧 CPU 和网络历史图的高度,减少标题区占用,
并同步调整 CPU 核心面板与卡片间距,避免侧栏内
出现多余留白。
This commit is contained in:
yinjianm
2026-04-19 05:08:10 +08:00
parent 30cc596ed8
commit af513c22ca
4 changed files with 85 additions and 32 deletions
@@ -2,7 +2,6 @@
<div ref="chartHostRef" class="network-history-chart">
<div class="network-history-chart__header">
<div>
<p class="network-history-chart__subtitle">{{ t('statusMonitor.networkHistoryRecentPoints', { count: displayPointCount }) }}</p>
<h6 class="network-history-chart__title">
{{ t('statusMonitor.networkSpeedTitleUnit', { unit: networkRateUnitIsMB ? 'MB/s' : 'KB/s' }) }}
</h6>
@@ -331,7 +330,7 @@ onBeforeUnmount(() => {
min-width: 0;
min-height: 0;
width: 100%;
height: 88px;
height: 60px;
overflow: hidden;
}