diff --git a/app/assets/stylesheets/common/base/category-list.scss b/app/assets/stylesheets/common/base/category-list.scss index 477448dcda2..0626f267048 100644 --- a/app/assets/stylesheets/common/base/category-list.scss +++ b/app/assets/stylesheets/common/base/category-list.scss @@ -62,6 +62,12 @@ } } + &.no-logos { + .category-box .category-box-inner > a { + padding: 3em 1em; + } + } + .category-box-heading { padding: 1em 1em 0 1em; } @@ -86,12 +92,6 @@ text-align: center; color: $primary; } - - &.no-logos { - .category-box a { - padding: 3em 1em; - } - } } .category-boxes-with-topics {