Remove the contact-activity class
The margin-top is better replaced with a bottom margin on the preceding element, and the width is unnecessary in the grid layout.
This commit is contained in:
parent
2b84452222
commit
826a864e6c
4 changed files with 6 additions and 11 deletions
|
@ -1092,13 +1092,6 @@ tr.turn:hover {
|
|||
}
|
||||
}
|
||||
|
||||
/* Rules for the user profile page */
|
||||
|
||||
.contact-activity {
|
||||
margin-top: $lineheight;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* Rules for the user map */
|
||||
|
||||
.content_map .leaflet-popup-content {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
: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 %>
|
||||
<div class="col-auto">
|
||||
<%= user_thumbnail contact, :class => "user_thumbnail_no_margins" %>
|
||||
</div>
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
<% if friends.empty? %>
|
||||
<%= t ".no friends" %>
|
||||
<% else %>
|
||||
<nav class='secondary-actions'>
|
||||
<nav class='secondary-actions mb-3'>
|
||||
<ul class='clearfix'>
|
||||
<li><%= link_to t(".friends_changesets"), friend_changesets_path %></li>
|
||||
<li><%= link_to t(".friends_diaries"), friends_diary_entries_path %></li>
|
||||
|
@ -50,7 +50,7 @@
|
|||
<% if nearby.empty? %>
|
||||
<%= t ".no nearby users" %>
|
||||
<% else %>
|
||||
<nav class='secondary-actions'>
|
||||
<nav class='secondary-actions mb-3'>
|
||||
<ul class='clearfix'>
|
||||
<li><%= link_to t(".nearby_changesets"), nearby_changesets_path %></li>
|
||||
<li><%= link_to t(".nearby_diaries"), nearby_diary_entries_path %></li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue