From: Tom Hughes Date: Wed, 10 Nov 2021 18:26:34 +0000 (+0000) Subject: Merge remote-tracking branch 'upstream/pull/3363' X-Git-Tag: live~1971 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/425818913b6234e8c17964d0c1f48e5bc177df57?hp=-c Merge remote-tracking branch 'upstream/pull/3363' --- 425818913b6234e8c17964d0c1f48e5bc177df57 diff --combined app/assets/stylesheets/common.scss index 255e04511,bd6e97691..f2afdcf7a --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@@ -370,6 -370,8 +370,6 @@@ body.compact-nav } h3, h4 { - margin-top: $lineheight; - margin-bottom: $lineheight/2; font-size: 1.25rem; } @@@ -811,6 -813,7 +811,6 @@@ tr.turn:hover border-bottom: 1px solid $grey; h4:first-child { - margin-top: 0; word-wrap: break-word; } } @@@ -855,7 -858,6 +855,7 @@@ border-collapse: separate; border-spacing: 0; width: 100%; + margin-bottom: $spacer; th, td { border-bottom: 1px solid $grey; @@@ -908,7 -910,7 +908,7 @@@ .subscribe-buttons { float: left; - margin: 18px 10px 10px; + margin: 0 10px; min-width: 80px; } @@@ -964,7 -966,7 +964,7 @@@ } .export_area_inputs { - margin-bottom: $lineheight/2; + margin-bottom: $spacer; input[type="text"] { width: 100px; text-align: center; @@@ -1092,6 -1094,13 +1092,6 @@@ } } -/* Rules for the user profile page */ - -.contact-activity { - margin-top: $lineheight; - width: 100%; -} - /* Rules for the user map */ .content_map .leaflet-popup-content { @@@ -1108,16 -1117,26 +1108,12 @@@ margin-top: 0 0 0 60px; font-size: 12px; } - img.user_thumbnail { - float: left; - margin: 0 $lineheight/2 0 0; - } } /* Rules for the user list */ #user_list { width: 100%; - - tr { - vertical-align: middle; - } - - p { - margin-top: 0px; - margin-bottom: 0px; - } -} - -#user_list_actions { - float: right; - margin-top: $lineheight/2; } /* Rules for the diary list page */ @@@ -1402,28 -1421,12 +1398,12 @@@ img.user_image max-width: 100px; max-height: 100px; border: 1px solid $grey; - margin-bottom: $lineheight; - float: left; - margin-right: $lineheight; - } - - img.user_image_no_margins { - max-width: 100px; - max-height: 100px; - border: 1px solid $grey; } img.user_thumbnail { max-width: 50px; max-height: 50px; border: 1px solid $grey; - margin-right: $lineheight; - } - - img.user_thumbnail_no_margins { - max-width: 50px; - max-height: 50px; - border: 1px solid $grey; } img.user_thumbnail_tiny { @@@ -1589,10 -1592,6 +1569,6 @@@ dl.dl-inline } } - .comments .richtext { - margin-left: 70px; - } - /* Rules for the user notes list */ .note_list { diff --combined app/views/dashboards/_contact.html.erb index cf1866cc9,dd78b1c86..77363dbdb --- a/app/views/dashboards/_contact.html.erb +++ b/app/views/dashboards/_contact.html.erb @@@ -4,9 -4,9 +4,9 @@@ :icon => image_path(type == "friend" ? "marker-blue.png" : "marker-green.png"), :description => render(:partial => "popup", :object => contact, :locals => { :type => type }) } %> -<%= tag.div :class => "contact-activity clearfix row", :data => { :user => user_data } do %> +<%= tag.div :class => "clearfix row", :data => { :user => user_data } do %>
- <%= user_thumbnail contact, :class => "user_thumbnail_no_margins" %> + <%= user_thumbnail contact %>

diff --combined app/views/diary_entries/index.html.erb index acab663bc,15a3b0692..b08bf05a4 --- a/app/views/diary_entries/index.html.erb +++ b/app/views/diary_entries/index.html.erb @@@ -1,26 -1,31 +1,31 @@@ -<% content_for :head, tag(:meta, :name => :robots, :content => :noindex) %> +<% content_for :head, tag.meta(:name => :robots, :content => :noindex) %> <% content_for :heading do %> -

id="userinformation"<% end %>> +
id="userinformation"<% end %> class="row"> <% if @user %> - <%= user_image @user %> +
+ <%= user_image @user %> +
<% end %> -

<%= @title %>

- +
<% end %>