It extends to the right, I don’t think this is anything to do with my CSS because I disabled everything and it still does it and is not wrapping correctly.
Due to the ToS and Privacy Policy.
In the Support category, user hippo reports that the mobile menu for the ‘About’ page is overflowing and not wrapping correctly, even with CSS disabled. They suspect the presence of both ‘Guidelines’ and ‘FAQ’ links causes the issue. User ToddZ confirms this behavior, noting that adding an FAQ link triggers the overflow. They suggest a quick CSS fix by adding flex-wrap: wrap to .nav-pills and reducing the gap. hippo agrees this requires a permanent fix rather than manual CSS workarounds. NateDhaliwal and Moin clarify that ‘FAQ’ has been renamed to ‘Guidelines’ by default, though they can still be separated. Moin notes that this mobile spacing issue has been reported previously and persists depending on the interface language. hippo confirms they use ‘Guidelines’ for rules and have a custom FAQ page. ToddZ adds that self-hosters must enable a hidden setting to complete the FAQ-to-Guidelines rename, while Moin clarifies these ‘upcoming changes’ can be enabled directly in the admin interface.
It looks like you have both Guidelines and FAQ on the menu - I think that’s what makes it overflow. If I add FAQ to my site it does the same.
A little additional CSS can make it wrap:
.nav-pills {
flex-wrap: wrap;
}
Reducing the gap on .nav-pills might help a little too.
(This was just a quick test with browser dev tools. You might have to get more specific with the selectors if you don’t want to affect .nav-pills in other places.)
Yeah seems like it might need to get fixed in the future so I don’t have to add a bunch of CSS to fix this.
It does mess up a lot of other things on the other menus without a lot of css.
Isn’t FAQ now Guidelines?
By default, you now have guidelines instead of FAQ, but even before that change, it was possible to separate them:
The problem with the space on mobile occurs even without additional links, depending on the interface language. I reported that in 2022, but it didn’t make it into the redesign in 2024:
I am using Guidelines for Rules and I have my own custom FAQ page.
Just a note that for self-hosters the change renaming FAQ to Guidelines currently requires enabling a hidden setting and a documentation update effort is underway.
All the settings controlled by “upcoming changes” are hidden site settings. But compared to most hidden settings which you need to enable via the console, you can enable these right in the interface at /admin/config/upcoming-changes.