Fix Bug #568: 修复门诊日结页面排版混乱 - 居中报告容器并优化间距
根因: 1. .report-container缺少margin:0 auto,宽屏下报告内容左对齐,右侧大量留白 2. Grid行间距gap:8px偏小,数据项之间视觉层次不够分明 3. 分隔线margin:12px偏小,各区块之间区分不够清晰 修复: 1. 添加margin:0 auto居中报告容器,在宽屏下对称显示 2. Grid行间距从8px增至10px,改善数据项之间的视觉间距 3. 分隔线margin从12px增至16px,增强区块之间的视觉分隔 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -267,6 +267,7 @@ getPharmacyCabinetLists();
|
||||
.report-container {
|
||||
width: 100%;
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
box-sizing: border-box;
|
||||
padding: 24px 32px;
|
||||
background: #fff;
|
||||
@@ -293,7 +294,7 @@ getPharmacyCabinetLists();
|
||||
.report-row {
|
||||
display: grid;
|
||||
margin: 12px 0;
|
||||
gap: 8px 16px;
|
||||
gap: 10px 16px;
|
||||
align-items: baseline;
|
||||
}
|
||||
.cols-4 {
|
||||
@@ -325,7 +326,7 @@ getPharmacyCabinetLists();
|
||||
.divider {
|
||||
height: 1px;
|
||||
background-color: #dcdfe6;
|
||||
margin: 12px 0;
|
||||
margin: 16px 0;
|
||||
}
|
||||
@media screen and (max-width: 1200px) {
|
||||
.cols-4 {
|
||||
|
||||
Reference in New Issue
Block a user