RSS Feed/News Grouped buttons are not displayed correctly if some of them are hidden

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
25,956
Points
823

Reputation:

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:

Code:
.fixedButtonGroup
{
    display: inline-block;
    vertical-align: top...

Read more

Continue reading...
 
Status
Not open for further replies.
Top