Skip to content

Commit d9f7077

Browse files
author
Amit Zur
committed
autocomplete UI tweaks: center icon and focus outline
1 parent 0987158 commit d9f7077

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

public/js/components/Autocomplete.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,9 @@
5151
font-size: 0.8em;
5252
background-image: url("/images/magnifying-glass.svg");
5353
background-repeat: no-repeat;
54-
background-position-y: calc(1.25em - 8px);
55-
background-position-x: 5px;
54+
background-position: 5px 50%;
5655
}
5756

5857
.autocomplete input:focus {
59-
outline: 2px solid #4a90e0;
58+
border-color: #4a90e0;
6059
}

0 commit comments

Comments
 (0)