From c536dc53a3dbf693e8f291327afcda5f726d3196 Mon Sep 17 00:00:00 2001 From: teddit Date: Tue, 1 Dec 2020 18:56:54 +0100 Subject: [PATCH] fix search css --- dist/css/styles.css | 5 +++++ views/search.pug | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/dist/css/styles.css b/dist/css/styles.css index adc67ba..c1371c8 100644 --- a/dist/css/styles.css +++ b/dist/css/styles.css @@ -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; } diff --git a/views/search.pug b/views/search.pug index f98c821..9268b5e 100644 --- a/views/search.pug +++ b/views/search.pug @@ -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