Board Thread:Support Requests - Getting Technical/@comment-4370375-20151015224259/@comment-4731443-20151016011723

Spottra wrote: Ah, I see what you are talking about. Hmm, I am not sure quite how to fix that, to be honest. I am not seeing any CSS that should cause that one way or the other; the CSS is identical between the two infoboxes. The only difference is that one has a second nav element:

(...)

Something is causing that second nav element to add a bottom margin; if I manually add that exact element into the DOM on the first infobox, that spacing appears. I don't see a rule that would be doing it in the console, however. Look for what isn't there instead ;) .pi-navigation:nth-child(2) {   margin-bottom: 0px; }

The header that says "マシャ" is the second child of the aside and therefore cancels some of the margin: 2px that normally applies to .pi-navigation: .portable-infobox .pi-header, .portable-infobox .pi-title, .portable-infobox .pi-navigation { margin: 2px; padding: 0px; }

In the green infobox, "Midorikawa Retasu" is the third child and has no similar rule taking effect. However you can see that there is no margin between the 2nd and 3rd elements.

I see the following rules in your common.css page: .pi-navigation:nth-child(2) { margin-bottom:0; } .pi-navigation:nth-child(3) { font-weight:normal; font-style:italic; border-top:1px dotted; margin-top:0; } You could remove the first line and the spacing would appear. Note that this will affect every navigation that is a second child in every portable infobox on your wiki.