马一丁

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

@@ -2762,12 +2762,17 @@ table th {{ @@ -2762,12 +2762,17 @@ table th {{
2762 font-size: 2rem; 2762 font-size: 2rem;
2763 font-weight: 700; 2763 font-weight: 700;
2764 display: flex; 2764 display: flex;
2765 - flex-wrap: wrap; 2765 + flex-wrap: nowrap;
2766 gap: 4px 6px; 2766 gap: 4px 6px;
2767 line-height: 1.25; 2767 line-height: 1.25;
2768 word-break: break-word; 2768 word-break: break-word;
2769 overflow-wrap: break-word; 2769 overflow-wrap: break-word;
2770 }} 2770 }}
  2771 +.kpi-value small {{
  2772 + font-size: 0.65em;
  2773 + align-self: baseline;
  2774 + white-space: nowrap;
  2775 +}}
2771 .kpi-label {{ 2776 .kpi-label {{
2772 color: var(--secondary-color); 2777 color: var(--secondary-color);
2773 line-height: 1.35; 2778 line-height: 1.35;
@@ -926,9 +926,15 @@ p {{ @@ -926,9 +926,15 @@ p {{
926 hyphens: auto; 926 hyphens: auto;
927 max-width: 100%; 927 max-width: 100%;
928 display: flex; 928 display: flex;
929 - flex-wrap: wrap; 929 + flex-wrap: nowrap;
930 align-items: baseline; 930 align-items: baseline;
931 gap: 4px 6px; 931 gap: 4px 6px;
  932 +}}
  933 +.kpi-card .kpi-value small {{
  934 + font-size: 0.65em;
  935 + white-space: nowrap;
  936 + align-self: baseline;
  937 +}}
932 .kpi-card .kpi-label {{ 938 .kpi-card .kpi-label {{
933 font-size: {body_kpi_label}px !important; 939 font-size: {body_kpi_label}px !important;
934 word-break: break-word; 940 word-break: break-word;