As it can be seen in the image below, the header items are displayed wrongly when the width of the window is between 960 and 991px  To reproduce ========== go to https://scitools.org.uk/cartopy/docs/latest/ and adjust the window to 975px