This PR fixes the responsive containers that were added in #29095, originally stubbed out in #25631. Apologies to @browner12 for getting that wrong.
I still need to verify if at all we need to make changes to the navbar CSS. That looked more complicated than it needed to be, so need to verify the attribute selectors.
Fixes #25631.