Corrige botão de pesquisa

This commit is contained in:
Hugo Peixoto 2023-07-19 16:09:33 +01:00
parent 0f27c48ddd
commit 2b08346323
2 changed files with 2 additions and 1 deletions

View File

@ -45,7 +45,7 @@
<aside>
<form class='search' action="/search" method="GET">
<input type="search" name="s" placeholder="Termo de pesquisa..." />
<button class="padding: 0.5rem" type='button'><img src="/img/search.svg" alt="Pesquisar" /></button>
<button class="padding: 0.5rem" type='submit'><img src="/img/search.svg" alt="Pesquisar" /></button>
</form>
{{ $articles := (where .Site.RegularPages "Section" "artigos") }}

View File

@ -56,6 +56,7 @@ aside .search button {
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
background-color: #C4302B;
cursor: pointer;
}
aside .search button img {
display: block;