防止用户卡片头像装饰移动

A number of plugins and TC’s that add a button to the user card end up moving the flair down with the button. This happens with the Follow plugin, the Portfolio TC, and the Social Link TC.

Since this happens with so many it seems that it may be a bit of a bug that could be fixed by anchoring it to the avatar rather than whatever it is now. I cannot fix it with simple CSS since the filter post button is dynamic and doesn’t always show which ends up moving it around.

Example:

1 个赞

Hi David,

You can position it with css. It will keep the position because top distance is always same.

Something like this to desktop css :arrow_down:

.user-card-avatar {
  .avatar-flair.rounded {
    top: 82px;
  }
}
4 个赞

Huh, swear I tried that, thanks Don!

1 个赞

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.