[openstreetmap-website] Float user image right on diary_entry_list (#71)

Alex Barth notifications at github.com
Sat Aug 25 04:28:30 BST 2012


Fix to a minor bug where the user image on the diary entry listing sticks on the left while it should float to the right.

Looks to me like

`.diary_entry_list img.user_thumbnail`

should be

`.diary_entry_list img.user_image`

This commit includes a corresponding change to the RTL stylesheet. Not sure how I can access RTL on the site.

![](https://img.skitch.com/20120825-gm66s86wmca9abxx5yjkm7qspm.jpg)

![](https://img.skitch.com/20120825-t4qaakt7hy9xrejgekj5f19k7a.jpg)

You can merge this Pull Request by running:

  git pull https://github.com/lxbarth/openstreetmap-website master

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

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

-- Commit Summary --

  * On diary listing, float user image to right. Looking at the code, I don't think there is ever a user_thumbnail on a diary_entry_list. Screenshot of what's fixed: https://skitch.com/alexbarth/eqs4r/openstreetmap-lxbarths-diary, this is how it looks now: http://www.openstreetmap.org/user/lxbarth/diary
  * Mirror previous commit to ltr in rtl stylesheet. Unsure how to test.

-- File Changes --

M app/assets/stylesheets/ltr.css.scss (2)
M app/assets/stylesheets/rtl.css.scss (2)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/71.patch
https://github.com/openstreetmap/openstreetmap-website/pull/71.diff


---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/71
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20120824/83a4d4f4/attachment.html>


More information about the rails-dev mailing list