Note that there was another style regression (barely noticeable but still...) The `.main` container doesn't have any padding, so the rightside border would show unexpectedly. I addressed this in the fix PR that I'll share hereafter.
Started a PR at https://github.com/xwiki/xwiki-platform/pull/4081