更新后头像上的群组图标显示异常

你好,我在上次更新后遇到了一个 bug:

之前图标是圆角的,现在变成了方形。我认为这是新的更改。在话题中,徽章又变回了圆角。

你可以在这里实时查看:https://forum.yeswas.pl

可能是这个功能:UX: display avatar flair in categories route topic list items (#9197) · discourse/discourse@dc18365 · GitHub

似乎缺少用于使头像徽章圆角的 CSS。

在修复方案出现之前,您可以在您的主题 CSS 中添加以下内容:

.latest-topic-list-item .topic-poster .avatar-flair {
    bottom: -2px;
    right: 6px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    background-size: 18px 18px;
    background-repeat: no-repeat;
    background-position: center;
    
    border-radius: 12px;
    width: 24px;
    height: 24px;
}

image

2 个赞

已在此修复:

该分类布局中新增了徽章样式,需要应用一些继承的样式。

10 个赞