From: Tom Hughes Date: Sat, 30 May 2009 13:50:21 +0000 (+0000) Subject: Fix wrapping in changeset lists properly. X-Git-Tag: live~7892 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/7a925ff1d97596ff3c8ba4627d538abb7328ac2d Fix wrapping in changeset lists properly. --- diff --git a/app/views/changeset/_changeset.rhtml b/app/views/changeset/_changeset.rhtml index 2a5356450..02107771d 100644 --- a/app/views/changeset/_changeset.rhtml +++ b/app/views/changeset/_changeset.rhtml @@ -5,14 +5,14 @@ #<%= changeset.id %> - + <% if changeset.closed_at > DateTime.now %> (still editing) <% else %><%= changeset.closed_at.strftime("%d %b %Y %H:%M") %><% end %> <%if showusername %> - + <% if changeset.user.data_public? %> <%= link_to h(changeset.user.display_name), :controller => "changeset", :action => "list_user", :display_name => changeset.user.display_name %> <% else %> @@ -29,7 +29,7 @@ <% end %> - + <% if changeset.min_lat.nil? %> (no edits) <% else diff --git a/public/stylesheets/site.css b/public/stylesheets/site.css index 29f41630f..54a70a611 100644 --- a/public/stylesheets/site.css +++ b/public/stylesheets/site.css @@ -199,9 +199,16 @@ body { width: 100%; } -#changeset_list .comment { - width: 60%; - max-width: 60%; +#changeset_list .date { + white-space: nowrap; +} + +#changeset_list .user { + white-space: nowrap; +} + +#changeset_list .area { + white-space: nowrap; } #changeset_list.th {