fix(console): omit the empty action row outside overview

Render the refresh-action container only where it has content so narrow layouts do not reserve a blank row after creation controls move into their page bars.
This commit is contained in:
翅膀 committed 2026-10-17 16:26:05 +08:00
1 parent 93f111b5b2
commit 244b5c6ffe
1 file changed
+2 -2
+2 -2
View File
@@ -59,8 +59,8 @@
}}</span></RcButton
>
</div>
<div class="console-actions">
<RcButton v-if="view === 'overview'" variant="ghost" size="sm" @click="refreshOverview"
<div v-if="view === 'overview'" class="console-actions">
<RcButton variant="ghost" size="sm" @click="refreshOverview"
><RefreshCw :size="15" />{{ t("metrics.refresh") }}</RcButton
>
</div>