Skip to content

Commit c2247fc

Browse files
committed
fix: add explicit line-height to ensure consistent layout across languages
1 parent ead6ee4 commit c2247fc

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

static/style.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656

5757
body {
5858
font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
59+
line-height: 1.5;
5960
color: var(--color-label);
6061
background: var(--color-bg);
6162
accent-color: var(--color-blue);
@@ -164,6 +165,7 @@ main {
164165
.ip-display {
165166
text-align: center;
166167
font-size: clamp(28px, 6vw, 42px);
168+
line-height: 1.2;
167169
font-weight: 200;
168170
margin-block: 28px 20px;
169171
letter-spacing: -0.5px;
@@ -199,6 +201,7 @@ main {
199201
padding-block: 10px;
200202
border-block-start: 1px solid var(--color-separator);
201203
font-size: 15px;
204+
line-height: 1.5;
202205
vertical-align: top;
203206
overflow-wrap: break-word;
204207
}
@@ -241,13 +244,15 @@ main {
241244

242245
.faq-title {
243246
font-size: 22px;
247+
line-height: 1.3;
244248
font-weight: 600;
245249
margin-block-end: 16px;
246250
}
247251

248252
summary {
249253
padding-block: 12px;
250254
font-size: 15px;
255+
line-height: 1.5;
251256
font-weight: 600;
252257
color: var(--color-label);
253258
cursor: pointer;
@@ -354,6 +359,7 @@ main {
354359
border: 1px solid var(--color-red);
355360
color: var(--color-red);
356361
font-size: 15px;
362+
line-height: 1.5;
357363
font-weight: 600;
358364
}
359365

@@ -372,13 +378,15 @@ main {
372378

373379
.error-status {
374380
font-size: 20px;
381+
line-height: 1.3;
375382
font-weight: 600;
376383
margin-block-start: 8px;
377384
color: var(--color-label);
378385
}
379386

380387
.error-detail {
381388
font-size: 15px;
389+
line-height: 1.5;
382390
margin-block-start: 12px;
383391
color: var(--color-label-secondary);
384392
}

0 commit comments

Comments
 (0)