From 498202a9f7b7562e7d453e9653cfb8db53b89d7a Mon Sep 17 00:00:00 2001 From: Luke Barratt Date: Sun, 4 May 2014 13:01:41 +0100 Subject: [PATCH] Folded in redundant forum headers --- app/assets/stylesheets/pages/_forums.scss | 8 ++------ app/views/forums/index.html.erb | 4 +--- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/app/assets/stylesheets/pages/_forums.scss b/app/assets/stylesheets/pages/_forums.scss index bc392db..17dd06e 100644 --- a/app/assets/stylesheets/pages/_forums.scss +++ b/app/assets/stylesheets/pages/_forums.scss @@ -27,12 +27,8 @@ div#categories { - h3 { - margin: 0.75em 0; - - &:first-child { - margin-top: 0; - } + div.category { + margin-bottom: 20px; } /* diff --git a/app/views/forums/index.html.erb b/app/views/forums/index.html.erb index 20c62f7..70797dd 100644 --- a/app/views/forums/index.html.erb +++ b/app/views/forums/index.html.erb @@ -5,13 +5,11 @@ <% forums = cuser ? cat.forums.available_to(cuser, Forumer::ACCESS_READ).ordered : cat.forums.public.ordered %> <% next if forums.length == 0 %> -

<%=h cat.name %>

- - +
Forums<%=h cat.name %> Topics Posts