From: John Firebaugh Date: Thu, 18 Jul 2013 17:20:48 +0000 (-0700) Subject: Fix rendering of note comments (#333) X-Git-Tag: live~4899 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/d492628f3eb4f540438f9aab8b3c02e12b87d243?hp=31b7bedfdac35077aaecdc4f403d0178b70f33ab Fix rendering of note comments (#333) --- diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 80cb000c5..0ab8069e9 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -964,7 +964,7 @@ ul.results-list li { border-bottom: 1px solid #ccc; } h4, p { margin-bottom: $lineheight/4; } - p, ul, .bbox, .geo { + ul, .bbox, .geo { display: inline-block; vertical-align: top; max-width: 65%; @@ -974,6 +974,7 @@ ul.results-list li { border-bottom: 1px solid #ccc; } margin-bottom: 0; } h4 { + float: left; width: 33.3333%; display: inline-block; vertical-align: top; diff --git a/app/views/browse/_changeset_details.html.erb b/app/views/browse/_changeset_details.html.erb index 47e38973d..7a0deac50 100644 --- a/app/views/browse/_changeset_details.html.erb +++ b/app/views/browse/_changeset_details.html.erb @@ -37,7 +37,7 @@ <% unless @nodes.empty? %> -
+

<%= t 'browse.changeset_details.has_nodes', :count => @node_pages.item_count %>

    <% @nodes.each do |node| %> @@ -49,7 +49,7 @@ <% end %> <% unless @ways.empty? %> -
    +

    <%= t 'browse.changeset_details.has_ways', :count => @way_pages.item_count %>

      <% @ways.each do |way| %> @@ -64,7 +64,7 @@ <% end %> <% unless @relations.empty? %> -
      +

      <%= t 'browse.changeset_details.has_relations', :count => @relation_pages.item_count %>

        <% @relations.each do |relation| %>