Fix inline context padding on inline-block.

Fixes categories bar on wikipedia - ref #2554.
Merge pull request #3460 from glennw/inline-block-padding

Fix inline context padding on inline-block.