MyBB Community Forums

Full Version: Better icons positioning relatively to text baseline
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I think that icons positions should be modified to match text baseline.

Like in picture below:
[Image: Nb13Xfk.png]

At now, usually icon is 1-2 px too high relatively to text on left or right side.

It can be solved by modifying background-position in theme or replacing icons sprite with corrected one.
adding the following piece of css to global.css should fix it... btw, its not a bug imo...

ul.top_links li img {
vertical-align: text-bottom;
}
(2015-02-02, 04:09 AM)mmadhankumar Wrote: [ -> ]adding the following piece of css to global.css should fix it... btw, its not a bug imo...




ul.top_links li img {
vertical-align: text-bottom;
}


Well, this css code has nothing to do with actual problem. The css element is
#header ul.menu li a
not a
ul.top_links li img

But I already created pull request on Github:
https://github.com/mybb/mybb/pull/1805
I hope it will be merged.