Fix Bug #568: 修复门诊日结页面排版混乱 - 优化CSS Grid布局间距和字体
- 增大 grid gap 从 10px 16px 到 12px 24px,改善行列间距 - 为 .report-item 添加 gap: 8px,标签与数值间留白 - 统一 .label 字体大小为 14px,保持视觉一致 - 移除 .value 的 overflow:hidden,避免内容截断 - 调整费用性质下拉框宽度为 130px
This commit is contained in:
@@ -294,7 +294,7 @@ getPharmacyCabinetLists();
|
||||
.report-row {
|
||||
display: grid;
|
||||
margin: 12px 0;
|
||||
gap: 10px 16px;
|
||||
gap: 12px 24px;
|
||||
align-items: baseline;
|
||||
}
|
||||
.cols-4 {
|
||||
@@ -308,22 +308,22 @@ getPharmacyCabinetLists();
|
||||
align-items: center;
|
||||
box-sizing: border-box;
|
||||
min-width: 0;
|
||||
gap: 8px;
|
||||
}
|
||||
.label {
|
||||
display: inline-block;
|
||||
width: 140px;
|
||||
width: 150px;
|
||||
flex-shrink: 0;
|
||||
color: #606266;
|
||||
white-space: nowrap;
|
||||
text-align: right;
|
||||
font-size: 14px;
|
||||
}
|
||||
.value {
|
||||
color: #303133;
|
||||
font-weight: 500;
|
||||
white-space: nowrap;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.divider {
|
||||
height: 1px;
|
||||
|
||||
Reference in New Issue
Block a user