Skip to content

Commit 8adb7d0

Browse files
htlin222claude
andcommitted
fix(kpi): line height 1.5 -> 1.15
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JBHyvN2grYj27kTTRPYmBK
1 parent 37de6e9 commit 8adb7d0

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎src/components/kpi-minter/styles.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150
.kpi-value {
151151
font-size: 24px;
152152
font-weight: 700;
153-
line-height: 1.5;
153+
line-height: 1.15;
154154
white-space: nowrap;
155155
}
156156

@@ -162,7 +162,7 @@
162162
.kpi-label {
163163
margin-top: 4px;
164164
font-size: 11px;
165-
line-height: 1.5;
165+
line-height: 1.15;
166166
white-space: nowrap;
167167
}
168168

‎src/util/kpi_minter.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ function insertKpiIntoSlide(payload) {
186186
// then the whole row is centered across the page — NOT stretched to fill.
187187
const valueSize = 38;
188188
const labelSize = 17;
189-
const lineSpacing = 150; // 1.5x line height
189+
const lineSpacing = 115; // 1.15x line height
190190
const padX = 22;
191191
const padY = 16;
192192
const margin = 30;

0 commit comments

Comments
 (0)