fix: absolutely position copied tooltip to prevent IP shift

This commit is contained in:
NetworkCats
2026-03-07 19:14:38 +08:00
parent 5d87a9c7b3
commit 1048d043bb
+5 -2
View File
@@ -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);