From f32f5713f8a2c2249020c50fcf192149c3f95599 Mon Sep 17 00:00:00 2001 From: 666ghj <670939375@qq.com> Date: Fri, 9 Jan 2026 10:53:44 +0800 Subject: [PATCH] style(HistoryDatabase): adjust grid background position for improved layout - Changed background position from center to top left to enhance grid alignment and responsiveness during height changes. --- frontend/src/components/HistoryDatabase.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/HistoryDatabase.vue b/frontend/src/components/HistoryDatabase.vue index 954fc5c..51428a7 100644 --- a/frontend/src/components/HistoryDatabase.vue +++ b/frontend/src/components/HistoryDatabase.vue @@ -412,7 +412,8 @@ onUnmounted(() => { linear-gradient(to right, rgba(0, 0, 0, 0.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 1px, transparent 1px); background-size: 50px 50px; - background-position: center center; + /* 从左上角开始定位,高度变化时只在底部扩展,不影响已有网格位置 */ + background-position: top left; } .gradient-overlay {