Skip to content

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

FIX: Links in category box descriptions should be clickable

Kris35a1912e2d99
diff --git a/app/assets/stylesheets/common/base/category-list.scss b/app/assets/stylesheets/common/base/category-list.scss
index 22c99387d65..7a2a95b8df1 100644
--- a/app/assets/stylesheets/common/base/category-list.scss
+++ b/app/assets/stylesheets/common/base/category-list.scss
@@ -124,8 +124,16 @@
text-align: center;
font-size: $font-0;
color: dark-light-choose($primary-medium, $secondary-high);
+ position: relative;
+
+ // allow clicks to fall through the description text to the category below...
+ pointer-events: none;
.overflow {
max-height: 6em;
+ div a {
+ // ...but links in description should still be clickable
+ pointer-events: auto;
+ }
}
}