Page MenuHomePhabricator

Monobook action tabs are off one pixel in certain browsers
Closed, ResolvedPublic


In the Monobook skin, under IE and Opera, the borders of the tabs (edit, move etc. - with the exception of the currently active tab) on top of the article don't quite attach to the block below - there is a small gap (one pixel with usual em sizes). Hard to notice, but it is rather ugly once you do.

Under Opera, #p-cactions { margin-top: 1px; } seems to fix it, and under IE 6, #p-cactions a { padding-bottom: 1px; } works.

(Tested under IE6, Opera 9.63, Opera 10 beta on Win XP. The problem also appears on IE7, but the fix was not tested there.)

Version: unspecified
Severity: trivial



Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:34 PM
bzimport set Reference to bz17602.

Confirming, still happens on Opera 12.15 today.

This is caused by insufficient bottom padding on the tabs (0.1em on normal ones, and for some reason 0.2em on active ones, which is apparently enough) - apparently Opera has slightly different defaults or something.

I'll submit a patch to raise it to something ridiculous like 1em, just in case. This shouldn't cause any issues, as the z-indices are set reasonably on all involved elements.

Related URL: (Gerrit Change I07223ba46913f721907f9aa88f79bc94402b6cf6) (Gerrit Change I07223ba46913f721907f9aa88f79bc94402b6cf6) | change APPROVED and MERGED [by TheDJ]