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.
This commit is contained in:
parent
d7169bac91
commit
f32f5713f8
1 changed files with 2 additions and 1 deletions
|
|
@ -412,7 +412,8 @@ onUnmounted(() => {
|
||||||
linear-gradient(to right, rgba(0, 0, 0, 0.05) 1px, transparent 1px),
|
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);
|
linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
|
||||||
background-size: 50px 50px;
|
background-size: 50px 50px;
|
||||||
background-position: center center;
|
/* 从左上角开始定位,高度变化时只在底部扩展,不影响已有网格位置 */
|
||||||
|
background-position: top left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gradient-overlay {
|
.gradient-overlay {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue