From 85280b0bc8faca972b92ddfb100c689ab32898f9 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Mon, 20 Mar 2017 14:24:43 -0400 Subject: [PATCH] FIX: links in category description inside subcategory boxes have too much padding --- app/assets/stylesheets/desktop/category-list.scss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/desktop/category-list.scss b/app/assets/stylesheets/desktop/category-list.scss index 43028c62fb7..0ec0040da77 100644 --- a/app/assets/stylesheets/desktop/category-list.scss +++ b/app/assets/stylesheets/desktop/category-list.scss @@ -202,6 +202,7 @@ font-size: 1.5em; margin-bottom: 0.5em; margin-top: 0.25em; + line-height: 1.1em; } .description { font-size: 1.05em; @@ -227,16 +228,15 @@ .category-box { width: 23%; margin: 0 1% 1.5em 1%; + > a { + width: 100%; + padding: 1em; + } } .details { text-align: center; } - a { - width: 100%; - padding: 1em; - } - &.no-logos { .category-box a { padding: 3em 1em;