Adjust the Formatting and Layout of Data Blocks in the Generated PDF

This commit is contained in:
马一丁
2025-11-27 10:44:47 +08:00
parent 5e9da9cfbf
commit 87382f29f3
2 changed files with 13 additions and 2 deletions

View File

@@ -2762,12 +2762,17 @@ table th {{
font-size: 2rem;
font-weight: 700;
display: flex;
flex-wrap: wrap;
flex-wrap: nowrap;
gap: 4px 6px;
line-height: 1.25;
word-break: break-word;
overflow-wrap: break-word;
}}
.kpi-value small {{
font-size: 0.65em;
align-self: baseline;
white-space: nowrap;
}}
.kpi-label {{
color: var(--secondary-color);
line-height: 1.35;

View File

@@ -926,9 +926,15 @@ p {{
hyphens: auto;
max-width: 100%;
display: flex;
flex-wrap: wrap;
flex-wrap: nowrap;
align-items: baseline;
gap: 4px 6px;
}}
.kpi-card .kpi-value small {{
font-size: 0.65em;
white-space: nowrap;
align-self: baseline;
}}
.kpi-card .kpi-label {{
font-size: {body_kpi_label}px !important;
word-break: break-word;