Grouped buttons are not displayed correctly if some of them are hidden

Grouped buttons are not displayed correctly if some of them are hidden
0
27
To be clear, in XenForo out of the box there are no problems with this, since the only use case is grouping always visible buttons:
1723294973608.webp
But I needed to hide some buttons by default and display them via JS. And there is a problem: if the first or last button is hidden, the next or previous ones will have non-rounded borders:
1723295137399.webp

Spoiler: Possible fix
To get around this problem, I wrote the following LESS:
Less:

Код:
.fixedButtonGroup
{
    display: inline-block;
    vertical-align: top...

Read more

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ
Яндекс.Метрика