category-list.scss 中的 Pointer-events 错误

如果你为某个分类创建了“关于”主题,该主题会显示在分类列表中的分类名称下方。

如果该主题包含链接,它们会作为链接出现在分类列表中,但无法点击。

category-list.scss 中相关的 CSS 代码如下:

  .description {
    margin-bottom: 1em;
    text-align: center;
    font-size: $font-0;
    color: var(--primary-med-or-secondary-high);
    position: relative;
    @include line-clamp(4);

    // 允许点击事件穿透描述文本,作用于下方的分类...
    pointer-events: none;
    .overflow {
      max-height: 6em;
      div a {
        // ...但描述中的链接仍应可点击
        pointer-events: auto;
      }
    }

如果移除 div a 中的 div,链接即可正常工作。

注意:我尝试在 try.discourse.org 上复现此问题,但我没有编辑主题描述的权限。