[openstreetmap-website] Strange + and - characters on zoom controls (#164)

Martin Raifer notifications at github.com
Sat Nov 24 10:52:41 GMT 2012


The modified workaround introduced in 3d40181 doesn't seem to fix this properly (Opera, Chrome still render the +/- icons). This is because it doesn't really make sense to use `text-indent` with a percentage value when the containing element does have a width of 0 (see [specs](http://www.w3.org/TR/CSS21/text.html#indentation-prop)).

But, as we already know the width of the object in question, one could simply use that fixed value `text-indent: 26px`. Also, `white-space: nowrap` is not needed, when the text to hide doesn't contain any whitespace.

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/164#issuecomment-10676392
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20121124/54923a66/attachment.html>


More information about the rails-dev mailing list