(More) Tabs do not line up in a popup

When you have more than few tabs in a popup they are not aligned in a single column. Instead, it show up uneven in two columns:


Hmm.  That is certainly ugly.  But I cannot seem to replicate it.  Do you have any custom CSS that would be constraining the popup height?