[openstreetmap-website] Tighten White-space usage for Nomination "View details" with float:right (#477)

Paul Sladen notifications at github.com
Wed Sep 11 00:43:52 UTC 2013


Tighten vertical white-space by allowing Nomination "View details" results to float:right with the result.  The margin-left:0.5em; ensures there is a single-character spacing between the result and view details.  The margin-top:0.2em; is a kludge; as variants of vertical-align:baseline don't seem to be working and it looks odd unless the baselines are matching.  Help/suggestions appreciated!
![osm-nomination-view-details](https://f.cloud.github.com/assets/27120/1119530/c15667fc-1a7a-11e3-8a6f-d4226c4aff88.png)

You can merge this Pull Request by running:

  git pull https://github.com/sladen/openstreetmap-website-post-sotm2013 nomination-view-details

Or you can view, comment on it, or merge it online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/477

-- Commit Summary --

  * Tighten White-space usage for Nomination "View details" with float:right

-- File Changes --

    M app/assets/stylesheets/common.css.scss (3)
    M app/helpers/geocoder_helper.rb (2)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/477.patch
https://github.com/openstreetmap/openstreetmap-website/pull/477.diff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20130910/233e56c5/attachment.html>


More information about the rails-dev mailing list