fix(calendar-v2): remove left/right padding from BillListComponent
添加样式覆盖,移除 van-cell-group 和 van-list 的左右内边距, 确保账单列表在日历视图中无左右空白
This commit is contained in:
@@ -121,6 +121,17 @@ const onSmartClick = () => {
|
|||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 移除 BillListComponent 内部的左右 padding/margin */
|
||||||
|
:deep(.van-cell-group) {
|
||||||
|
margin-left: 0 !important;
|
||||||
|
margin-right: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
:deep(.van-list) {
|
||||||
|
padding-left: 0 !important;
|
||||||
|
padding-right: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
/* ========== 自定义 Header (保留) ========== */
|
/* ========== 自定义 Header (保留) ========== */
|
||||||
.txn-header {
|
.txn-header {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
Reference in New Issue
Block a user