fix search css

This commit is contained in:
teddit 2020-12-01 18:56:54 +01:00
parent a5c144e984
commit c536dc53a3
2 changed files with 6 additions and 1 deletions

5
dist/css/styles.css vendored
View File

@ -1089,6 +1089,11 @@ input[type="submit"]:hover,
width: calc(100% - 60px);
margin-top: 0px;
}
#search.sr.search-page {
width: 100%;
margin-left: 20px;
margin-top: 40px;
}
#search form {
max-width: 600px;
}

View File

@ -5,7 +5,7 @@ html
include includes/head.pug
body(class=""+ user_preferences.theme +"")
include includes/topbar.pug
#search
#search.sr.search-page
form(action="/r/" + subreddit + "/search", method="GET")
input(type="text", name="q", id="q", placeholder="search", value=""+ q +"")
div