XF 2.2 negation in extra.less

securedme

Active member
Can I do something like the following?

Code:
.node-icon when not ( &[data-container-key='node-11'] ) {
   height: 75px;
}
 
Solution
If it's for the forum list, something like this would work:
Less:
.node-icon
{
    height: 75px;
}

.node--id11 .node-icon
{
    height: 30px;
}
Top Bottom