fix: add explicit line-height to ensure consistent layout across languages

This commit is contained in:
NetworkCats
2026-03-22 19:28:50 +08:00
parent ead6ee47be
commit c2247fc4a6
+8
View File
@@ -56,6 +56,7 @@
body {
font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
line-height: 1.5;
color: var(--color-label);
background: var(--color-bg);
accent-color: var(--color-blue);
@@ -164,6 +165,7 @@ main {
.ip-display {
text-align: center;
font-size: clamp(28px, 6vw, 42px);
line-height: 1.2;
font-weight: 200;
margin-block: 28px 20px;
letter-spacing: -0.5px;
@@ -199,6 +201,7 @@ main {
padding-block: 10px;
border-block-start: 1px solid var(--color-separator);
font-size: 15px;
line-height: 1.5;
vertical-align: top;
overflow-wrap: break-word;
}
@@ -241,6 +244,7 @@ main {
.faq-title {
font-size: 22px;
line-height: 1.3;
font-weight: 600;
margin-block-end: 16px;
}
@@ -248,6 +252,7 @@ main {
summary {
padding-block: 12px;
font-size: 15px;
line-height: 1.5;
font-weight: 600;
color: var(--color-label);
cursor: pointer;
@@ -354,6 +359,7 @@ main {
border: 1px solid var(--color-red);
color: var(--color-red);
font-size: 15px;
line-height: 1.5;
font-weight: 600;
}
@@ -372,6 +378,7 @@ main {
.error-status {
font-size: 20px;
line-height: 1.3;
font-weight: 600;
margin-block-start: 8px;
color: var(--color-label);
@@ -379,6 +386,7 @@ main {
.error-detail {
font-size: 15px;
line-height: 1.5;
margin-block-start: 12px;
color: var(--color-label-secondary);
}