From 3fc31767d37f0306c4a9e4a7670f0c09763de906 Mon Sep 17 00:00:00 2001 From: teddit Date: Tue, 1 Dec 2020 16:32:57 +0100 Subject: [PATCH] search out of place on frontpage --- dist/css/styles.css | 2 +- views/index.pug | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/css/styles.css b/dist/css/styles.css index 727c080..49a48aa 100644 --- a/dist/css/styles.css +++ b/dist/css/styles.css @@ -1084,7 +1084,7 @@ input[type="submit"]:hover, margin-bottom: 50px; margin-top: 30px; float: left; - width: calc(100% - 30px); + width: calc(25% - 60px); } #search.sr { width: calc(100% - 60px); diff --git a/views/index.pug b/views/index.pug index 5281b12..d569e1c 100644 --- a/views/index.pug +++ b/views/index.pug @@ -99,7 +99,7 @@ html p.comments a(href="" + link.permalink + "", class="comments") | #{link.num_comments} comments - #search.sr + #search p search form(action="/r/all/search", method="GET") input(type="text", name="q", id="q", placeholder="search")