From 1048d043bbb139d8fd2fa704d39df86002632377 Mon Sep 17 00:00:00 2001 From: NetworkCats Date: Sat, 7 Mar 2026 19:14:38 +0800 Subject: [PATCH] fix: absolutely position copied tooltip to prevent IP shift --- static/style.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/static/style.css b/static/style.css index 81278af..ce318f6 100644 --- a/static/style.css +++ b/static/style.css @@ -137,10 +137,9 @@ main { } .ip-copy-wrap { + position: relative; display: flex; - align-items: baseline; justify-content: center; - gap: 8px; } .ip-display { @@ -154,6 +153,10 @@ main { } .ip-copied-tooltip { + position: absolute; + right: 0; + top: 50%; + translate: 0 -50%; font-size: 13px; font-weight: 500; color: var(--color-gray);