fix: use ion icon for search icon
This commit is contained in:
parent
5abafb8296
commit
1ce2d10c50
@ -318,12 +318,9 @@ input[type="search"]::-webkit-search-cancel-button {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.searchbar #searchbutton {
|
.searchbar #searchbutton {
|
||||||
border: 0;
|
border: none;
|
||||||
background: none;
|
background: none;
|
||||||
text-transform: uppercase;
|
margin-top: 0;
|
||||||
display: grid;
|
|
||||||
place-items: center;
|
|
||||||
width: 1.5em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.searchbar #searchbutton:hover {
|
.searchbar #searchbutton:hover {
|
||||||
|
@ -7,8 +7,6 @@
|
|||||||
value="<%= env.get?("search").try {|x| HTML.escape(x.as(String)) } %>">
|
value="<%= env.get?("search").try {|x| HTML.escape(x.as(String)) } %>">
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<button type="submit" id="searchbutton" aria-label="<%= translate(locale, "search") %>">
|
<button type="submit" id="searchbutton" aria-label="<%= translate(locale, "search") %>">
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6" aria-hidden="true">
|
<i class="icon ion-ios-search"></i>
|
||||||
<path stroke-linecap="round" stroke-linejoin="round" d="m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z" />
|
|
||||||
</svg>
|
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
|
Loading…
Reference in New Issue
Block a user