fix subscribe button on mobile, fix #107

This commit is contained in:
teddit 2021-01-10 15:03:27 +01:00
parent d0302f232f
commit 47e895557d
2 changed files with 7 additions and 1 deletions

View File

@ -1377,6 +1377,9 @@ code {
margin-left: 20px;
margin-top: 30px;
}
#search.sr {
margin-top: 30px;
}
#links.sr {
width: calc(100% - 10px);
}
@ -1425,6 +1428,9 @@ code {
#post .crosspost {
margin: auto 2.5%;
}
a.sub-to-subreddit {
padding: 8px 10px 8px 10px;
}
}

View File

@ -150,7 +150,7 @@ html
input(type="checkbox", name="nsfw", id="nsfw", checked="checked")
input(type="submit", value="search")
if subreddit_about
.subscribe
.subscribe.content
-
let subbed_to_this_subreddit = false
let subbed = []