search out of place on frontpage

This commit is contained in:
teddit 2020-12-01 16:32:57 +01:00
parent da74bebcb9
commit 3fc31767d3
2 changed files with 2 additions and 2 deletions

2
dist/css/styles.css vendored
View File

@ -1084,7 +1084,7 @@ input[type="submit"]:hover,
margin-bottom: 50px; margin-bottom: 50px;
margin-top: 30px; margin-top: 30px;
float: left; float: left;
width: calc(100% - 30px); width: calc(25% - 60px);
} }
#search.sr { #search.sr {
width: calc(100% - 60px); width: calc(100% - 60px);

View File

@ -99,7 +99,7 @@ html
p.comments p.comments
a(href="" + link.permalink + "", class="comments") a(href="" + link.permalink + "", class="comments")
| #{link.num_comments} comments | #{link.num_comments} comments
#search.sr #search
p search p search
form(action="/r/all/search", method="GET") form(action="/r/all/search", method="GET")
input(type="text", name="q", id="q", placeholder="search") input(type="text", name="q", id="q", placeholder="search")