mirror of
https://github.com/NetworkCats/rustyip.git
synced 2026-11-13 16:17:46 +00:00
fix: anchor search icon to input height to prevent misalignment on error
This commit is contained in:
+8
-2
@@ -92,8 +92,9 @@ main {
|
||||
.search-icon {
|
||||
position: absolute;
|
||||
inset-inline-start: 12px;
|
||||
inset-block-start: 50%;
|
||||
translate: 0 -50%;
|
||||
inset-block-start: 0;
|
||||
block-size: 38px;
|
||||
line-height: 38px;
|
||||
color: var(--color-label-tertiary);
|
||||
font-size: 14px;
|
||||
pointer-events: none;
|
||||
@@ -436,6 +437,11 @@ main {
|
||||
block-size: 44px;
|
||||
}
|
||||
|
||||
.search-form .search-icon {
|
||||
block-size: 44px;
|
||||
line-height: 44px;
|
||||
}
|
||||
|
||||
.ip-display {
|
||||
margin-block: 20px 16px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user