Switch to using flexbox for the community links

Not sure whether it’s really better, but it does mean that the number
of horizontal boxes increases as you remove the sidebar.