Skip to content

Commit 8c2539d

Browse files
committed
Fix alignment of magnifying glass in search input
The magnifying glass icon is now centered vertically without relying on its absolute size. This ensures proper centering, regardless of the icon's dimensions. Resolves #3200.
1 parent a3b0f1e commit 8c2539d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

root/static/less/search.less

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@
3030
.search-group .fa-search {
3131
color: @input-color;
3232
font-size: 20px;
33-
left: 10px;
33+
left: 17px;
3434
position: absolute;
35-
top: 23%;
35+
top: 50%;
36+
transform: translateY(-50%);
3637
}
3738

3839
.navbar-nav .search-form {

0 commit comments

Comments
 (0)