If you create an about topic for a category, it is displayed under the category name in the category list.
If this topic has links, they appear as links in the category list, but are not clickable.
The relevant css in category-list.scss is:
.description {
margin-bottom: 1em;
text-align: center;
font-size: $font-0;
color: var(--primary-med-or-secondary-high);
position: relative;
@include line-clamp(4);
// 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;
}
}
If the div
in div a
is removed, links work fine.
NB I tried to reproduce this on try.discourse.org, but I didn’t have edit rights to a topic description.