From 7f8e145a33c5f95fa78d74b65473af21db5605d3 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Tue, 20 Jun 2017 15:51:27 +0200 Subject: [PATCH] Better mobile version of the forum --- mixins/ForumTags.pixy | 2 +- pages/forum/forum.scarlet | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/mixins/ForumTags.pixy b/mixins/ForumTags.pixy index 9b4738a6..b1754cbe 100644 --- a/mixins/ForumTags.pixy +++ b/mixins/ForumTags.pixy @@ -11,4 +11,4 @@ component ForumTags component ForumTag(title string, category string, icon string) a.button.forum-tag.ajax(href=strings.TrimSuffix("/forum/" + category, "/")) Icon(arn.GetForumIcon(category)) - span= title \ No newline at end of file + span.forum-tag-text= title \ No newline at end of file diff --git a/pages/forum/forum.scarlet b/pages/forum/forum.scarlet index b3b226b5..48c77a22 100644 --- a/pages/forum/forum.scarlet +++ b/pages/forum/forum.scarlet @@ -14,5 +14,13 @@ color white !important background-color link-hover-color +< 920px + .forum-tag + .icon + margin-right 0 + + .forum-tag-text + display none + #load-more-threads margin-top 1rem \ No newline at end of file