From ae9ec7e75a2aa0a8911adbae34a1295921be24fd Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Sat, 9 May 2026 01:08:20 +0200 Subject: [PATCH] fix(frontend): inbound expand chevron position + cpu history layout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Push the inbound table's expand chevron away from the left edge with margin-inline + cell padding so it isn't flush against the corner - Move "Timeframe: …" caption above the chart (was below); restore the line that the previous edit removed - Fix x-axis time labels being clipped at the bottom of the cpu chart — the offset (paddingTop+drawHeight+22 = 222) exceeded the SVG viewBox height (220); dropped to +14 so labels sit at y=214 with room for descenders - Move the SVG axis text colors out of -.cpu-grid-y-text, -.cpu-grid-x-text { - fill: rgba(0, 0, 0, 0.45); -} -.cpu-grid-text { - fill: rgba(0, 0, 0, 0.8); + + diff --git a/frontend/src/pages/inbounds/InboundList.vue b/frontend/src/pages/inbounds/InboundList.vue index ae0d6497..366dd9a0 100644 --- a/frontend/src/pages/inbounds/InboundList.vue +++ b/frontend/src/pages/inbounds/InboundList.vue @@ -574,6 +574,17 @@ function showQrCodeMenu(dbInbound) { visibility: hidden; } +/* Push the expand chevron away from the table's left edge so it has + * a little breathing room instead of being flush against the corner. */ +:deep(.ant-table-tbody .ant-table-cell-with-append) { + padding-left: 12px; +} + +:deep(.ant-table-row-expand-icon) { + margin-inline-end: 10px; + margin-inline-start: 4px; +} + /* Round the table's outer corners — AD-Vue gives .ant-table the radius * token, but the inner header strip and footer touch the edges, so clip * them here. */ diff --git a/frontend/src/pages/index/CpuHistoryModal.vue b/frontend/src/pages/index/CpuHistoryModal.vue index fdc68367..2bf34be4 100644 --- a/frontend/src/pages/index/CpuHistoryModal.vue +++ b/frontend/src/pages/index/CpuHistoryModal.vue @@ -63,12 +63,12 @@ watch(bucket, () => { if (props.open) fetchBucket(); });
-
Timeframe: {{ bucket }} sec per point (total {{ points.length }} points)
+
@@ -84,7 +84,7 @@ watch(bucket, () => { if (props.open) fetchBucket(); }); } .cpu-chart-meta { - margin-top: 4px; + margin-bottom: 10px; font-size: 11px; opacity: 0.65; }