Skip to content

A platform for community discussion. Free, open, simple.

FIX: Apply margin to both box style headings (#37248)

Jordan Vidrine247039ad96b6
diff --git a/app/assets/stylesheets/common/base/category-list.scss b/app/assets/stylesheets/common/base/category-list.scss
index a94446449e6..59c945b7bf8 100644
--- a/app/assets/stylesheets/common/base/category-list.scss
+++ b/app/assets/stylesheets/common/base/category-list.scss
@@ -85,6 +85,15 @@
width: 100%;
}
+ .category-box-heading {
+ margin-bottom: 0.5em;
+
+ a[href] {
+ width: 100%;
+ color: var(--primary);
+ }
+ }
+
h3 .d-icon {
margin-right: 0;
}
@@ -308,15 +317,6 @@
overflow: hidden;
}
- .category-box-heading {
- margin-bottom: 0.5em;
-
- a[href] {
- width: 100%;
- color: var(--primary);
- }
- }
-
.featured-topics {
margin-bottom: 1em;