fix: HotCategoryBlock grid layout to 4 columns
Change card width from 48% to calc(25% - 12rpx) to achieve 4 columns × 2 rows layout as specified in design docs. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
948f19f180
commit
de4b376a87
@ -147,7 +147,7 @@ defineExpose({
|
|||||||
}
|
}
|
||||||
|
|
||||||
.skeleton-card {
|
.skeleton-card {
|
||||||
width: 48%;
|
width: calc(25% - 12rpx);
|
||||||
margin-bottom: 16rpx;
|
margin-bottom: 16rpx;
|
||||||
background: rgba(255, 255, 255, 0.1);
|
background: rgba(255, 255, 255, 0.1);
|
||||||
border-radius: 16rpx;
|
border-radius: 16rpx;
|
||||||
@ -200,7 +200,7 @@ defineExpose({
|
|||||||
}
|
}
|
||||||
|
|
||||||
.grid-card {
|
.grid-card {
|
||||||
width: 48%;
|
width: calc(25% - 12rpx);
|
||||||
margin-bottom: 16rpx;
|
margin-bottom: 16rpx;
|
||||||
background: rgba(255, 255, 255, 0.15);
|
background: rgba(255, 255, 255, 0.15);
|
||||||
border-radius: 16rpx;
|
border-radius: 16rpx;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user