-
+
+
{qqList.length === 0 ? '暂无在线会话' : '无匹配的会话'}
) : (
@@ -404,7 +404,7 @@ function SessionsBlock({ config }: { config: SessionsConfig }) {
animate={{ opacity: 1, y: 0 }}
transition={off ? { duration: 0 } : { delay: 0.03 + idx * 0.04, duration: 0.22 }}
whileHover={off ? undefined : { y: -2 }}
- className="flex items-center gap-3 rounded-lg border bg-card/40 p-3"
+ className="flex items-center gap-3 rounded-xl border bg-card/40 p-3"
>
@@ -452,8 +452,8 @@ function ConnectionsBlock() {
{connections.length === 0 ? (
-
-
+
) : (
@@ -469,7 +469,7 @@ function ConnectionsBlock() {
) : (
{acc.adapters.map((adp) => (
-
+
{CONN_STATUS_LABEL[adp.status]}
@@ -545,8 +545,8 @@ function RecentAlertsCard({ config }: { config: AlertsConfig }) {
{alerts.length === 0 ? (
-
-
+
) : (
diff --git a/packages/webui/src/lib/dashboard-layout.ts b/packages/webui/src/lib/dashboard-layout.ts
index b0adb903..1973d730 100644
--- a/packages/webui/src/lib/dashboard-layout.ts
+++ b/packages/webui/src/lib/dashboard-layout.ts
@@ -6,8 +6,11 @@ import type { LogLevel, UiLayoutItem } from '@/types';
// (render + min sizes), and the layout editor (labels) without import cycles.
export const GRID_COLS = 12;
-/** px per grid row. Tiles are 1 row; cards a few rows. */
-export const GRID_CELL_HEIGHT = 80;
+/** px per grid row. Tiles are 1 row; cards a few rows. Sized so a 1-row stat
+ * tile's icon + 3 text lines (label + text-lg value + subtext) clear the
+ * py-3.5 padding with breathing room: item content ≈ cellHeight − 2·margin −
+ * card border ≈ 90px > the ~86px the content needs. */
+export const GRID_CELL_HEIGHT = 108;
export const GRID_MARGIN = 8;
export interface GridWidgetSpec {