It's interesting, though, badges in bootstrap (the version currently used by XWiki) have their own border-radius, the @badge-border-radius , while labels have a fixed radius of 0.25em . , so they're not really aligned with the rest of the borders:
!image-2023-11-01-18-08-19-087.png|thumbnail!
I guess the best here would be to use the @badge-border-radius , to align the design of mentions with badges .
As for paddings of these items: * labels have paddings based on the font-size, in ems * badges have fixed, hardcoded paddings.
Since they're both supposed to be used inline (badges & labels), I would say that the hardcoded paddings are likely to be a mistaken approach. I would go for em based spacing.
Note that subsequent versions of bootstrap (5) don't use 2 different names for these items but a single one, labels. |
|