1
0
mirror of https://koodu.h-i.works/projects/thebadspace synced 2025-06-25 16:04:37 -05:00

feat: replace search icon with an SVG

this change allows us to use the font colour for the icon. it might also be nice to use a sprite.svg for all icons. this would use the same <use> mechanism as i did here.

this also optimises the SVG a bit
This commit is contained in:
Zoë
2025-05-02 17:23:49 +02:00
parent 3e070676e4
commit d165d0c2bd
3 changed files with 9 additions and 14 deletions

View File

@ -38,8 +38,9 @@ form.index-search-form > button {
right: 0;
}
form.index-search-form > button > img#search-icon {
float: none;
form.index-search-form > button > svg {
width: 48px;
height: 48px;
}
form.index-search-form > button > label {
@ -116,8 +117,4 @@ table.index-meta td {
form.index-search-form > button > label {
display: inline;
}
form.index-search-form > button > img#search-icon {
float: right;
}
}