Inconsistent margin for solved user summary

The “X solutions” stat added to the user summary page is not a <li> like the other status, but a <span> with a <li> inside. Because of this, the likes received button is :last-of-type and has a CSS property of margin: 0. With the default theme, this isn’t noticeable, but when customizing the stats with box shadow the margin difference is quite clear.

4 лайка

То же самое происходит с кнопкой «Решено» в профиле активности — не конкретно с отступом, а в целом с пользовательским стилем. «Решено» — это span, а остальные кнопки — только li


(спасибо @jomaxro за напоминание об этом нюансе в вашей теме)

1 лайк

@eviltrout and I have a plan to fix this, but its a pretty tedious change.

This is essentially a dupe of:

3 лайка