XF 2.2 Is it true that mobile version of XF2.2 no longer shows sub-forums in forum list?

gogo

Well-known member
Actually it only shows the sub-forums if the sub-forums display style is set to "Popup menu", but there's nothing if "Listed below node" is selected.

In XF2.1, sub-forums show up for both options.

1599321468992.webp

Is it intended or just a bug?

It's very important for me to have those sub-forums displayed when "Listed below node" is selected.
 
Solution
It has always hidden it on smaller mobile devices as far as I can remember. This in extra.less should show it:

Code:
@media (max-width: @xf-responsiveNarrow)
{
    .node .node-subNodesFlat, .node .node-subNodeMenu
    {
        display: block;
    }
}
Thanks. I just found I got a similar code in my lengthy extra.less.

Less:
@media (max-width: @xf-responsiveMedium) {
    .node-subNodesFlat {
        display: inline-block;
    }
}

I found it works without the condition " @media (max-width: @xf-responsiveMedium) { " so is it redundant?

And what's the difference in effect between "display: inline-block;" and "display: block;"?
 
By default, the show below is display block while the popup is display inline. Display inline allows it so it's next to the stats. That's why I added a media query so it wouldn't change the desktop display depending on which setting you used.
 
Top Bottom