Join GitHub today
Fix post-publish close button in other locales #9988
This PR makes it so the spacing that sits between the final confirm "Publish" button and the close button is a flex spacer. That means it behaves as an autosizing elastic element that has no minimum width, has a max width, and wants to be as big as it can.
In these screenshots I've painted the spacer red, but it's invisible in the actual PR.
The width the spacer desires is 52px, which is about the space it takes to overlay the confirm publish button on top of the pre-publish button, so if you like you can "double-click" to publish.