feat(frontend): 压缩状态监控历史图布局
收紧 CPU 和网络历史图的高度,减少标题区占用, 并同步调整 CPU 核心面板与卡片间距,避免侧栏内 出现多余留白。
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user