From 45f2064f0eba12e8a9b58d12bfa4224c6d60ddfe Mon Sep 17 00:00:00 2001 From: NetworkCats Date: Tue, 3 Mar 2026 02:35:36 +0800 Subject: [PATCH] style: center info table under IP and refine layout --- static/style.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/static/style.css b/static/style.css index 18db619..efd6bd1 100644 --- a/static/style.css +++ b/static/style.css @@ -132,7 +132,7 @@ main { .ip-display { - text-align: left; + text-align: center; font-size: clamp(28px, 6vw, 42px); font-weight: 300; margin: 28px 0 20px; @@ -142,9 +142,8 @@ main { } .info-table { - width: 100%; + margin: 0 auto; border-collapse: collapse; - table-layout: fixed; } .info-table td { @@ -153,6 +152,7 @@ main { font-size: 15px; vertical-align: top; overflow-wrap: break-word; + white-space: nowrap; } .info-table tr:last-child td { @@ -161,6 +161,7 @@ main { .info-table .label { width: 120px; + padding-right: 16px; font-weight: 600; color: var(--color-label); }