style: 放大费用分类汇总区域 #521

Merged
yueyang merged 1 commits from feature/yueyang-expense-summary-height into main 2026-10-24 20:07:06 +08:00
2 changed files with 5 additions and 1 deletions

View File

@ -41,7 +41,7 @@
.pd-item-summary__head { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem .875rem; padding:.75rem 1rem; border-bottom:1px solid #e8e0d2; background:#faf6ee; }
.pd-item-summary__head strong { color:#2f2a23; }
.pd-item-summary__head span { color:#7c7468; font-size:.75rem; }
.pd-item-summary__wrap { max-height:19rem; overflow:auto; }
.pd-item-summary__wrap { max-height:clamp(24rem, 58vh, 32rem); overflow:auto; }
.pd-item-summary table { width:100%; border-collapse:collapse; font-size:.8125rem; }
.pd-item-summary th { position:sticky; top:0; z-index:1; padding:.55rem .8rem; border-bottom:1px solid #d8d2c7; background:#f3ece0; color:#3d3a35; text-align:left; white-space:nowrap; }
.pd-item-summary th.num, .pd-item-summary td.num { text-align:right; }

View File

@ -39,5 +39,9 @@ class ExpenseDetailsDrilldownPageTest extends FeatureTestCase
], $columns[1]);
$this->assertStringContainsString('pd-item-summary__toggle', $template);
$this->assertStringContainsString('category.items', $template);
$this->assertStringContainsString(
'max-height:clamp(24rem, 58vh, 32rem)',
$template,
);
}
}