checkpoint

This commit is contained in:
Will Miao
2025-05-12 13:59:11 +08:00
parent 8546cfe714
commit 311e89e9e7
4 changed files with 120 additions and 36 deletions

View File

@@ -2,7 +2,8 @@
.card-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); /* Base size */
gap: 12px; /* Reduced from var(--space-2) for tighter horizontal spacing */
gap: 12px; /* Consistent gap for both row and column spacing */
row-gap: 20px; /* Increase vertical spacing between rows */
margin-top: var(--space-2);
padding-top: 4px; /* 添加顶部内边距,为悬停动画提供空间 */
padding-bottom: 4px; /* 添加底部内边距,为悬停动画提供空间 */
@@ -395,7 +396,6 @@
box-sizing: border-box;
transition: transform 160ms ease-out;
margin: 0; /* Remove margins, positioning is handled by VirtualScroller */
padding: 6px; /* Add consistent padding on all sides */
width: 100%; /* Allow width to be set by the VirtualScroller */
}