I'm having this weird situation when trying to create a text logo for my site, http://geekket.co/.
In desktop browsers (Firefox 51, Chrome 56, IE 11.576, Edge 38) the logo works perfectly, it looks pixel perfect as our design document specifies it.
But in mobile, the line-height property seems to work wrongly. Opera renders it fine, but Firefox and Chrome don't work as expected.
Mobile screenshots imgur album because I still have not enough reputation: https://i.stack.imgur.com/dbqcq.jpg
This is the CSS code dedicated to that particular section of the logo:
#LogoGeek {
display: inline-block;
background-color: rgb(90, 186, 71);
font-family: "ForcedSquare";
font-size: 90px;
line-height: .72;
height: .74em;
padding: 0 .05em 0 .12em;
vertical-align: middle;
}
"ForcedSquare" is a web font we added to the site.
I fiddled with the Remote Dev Tools ability in Mobile Chrome and found that if I changed line-height to .87, it works as expected, however, I feel that it is a ridiculous fix.
As far as I have read, it seems to be some sort of issue with the particular font. But then why there's no deal with all the different browsers of desktop and/or Opera Mobile, I have to idea.
Is there a better way to adjust it, or make it work properly in all browsers? Thank you every one!