mirror of
https://github.com/NetworkCats/rustyip.git
synced 2026-11-13 16:17:46 +00:00
fix: use gray text for copied tooltip and position it beside the IP
This commit is contained in:
+5
-7
@@ -137,10 +137,10 @@ main {
|
||||
}
|
||||
|
||||
.ip-copy-wrap {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
align-items: baseline;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.ip-display {
|
||||
@@ -156,11 +156,9 @@ main {
|
||||
.ip-copied-tooltip {
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
color: #FFF;
|
||||
background: var(--color-label);
|
||||
padding: 4px 12px;
|
||||
border-radius: 6px;
|
||||
color: var(--color-gray);
|
||||
pointer-events: none;
|
||||
white-space: nowrap;
|
||||
animation: ip-tooltip-fade 1.5s ease-out;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user