Refactor paragraph margin to avoid custom css

This commit is contained in:
Andy Allan 2021-09-15 14:29:15 +01:00
parent 31e247c1e2
commit 99abdeb683
2 changed files with 1 additions and 4 deletions

View file

@ -1107,9 +1107,6 @@ tr.turn:hover {
}
.dashboards-show {
p#no_home_location {
margin: $lineheight;
}
.user_thumbnail {
margin-top: $lineheight/4;
float: left;

View file

@ -7,7 +7,7 @@
<div class="col-md order-md-last">
<% if @user.home_lat.nil? or @user.home_lon.nil? %>
<div id="map" class="content_map">
<p id="no_home_location"><%= t(".no_home_location_html", :edit_profile_link => link_to(t(".edit_your_profile"), edit_profile_path)) %></p>
<p class="m-3"><%= t(".no_home_location_html", :edit_profile_link => link_to(t(".edit_your_profile"), edit_profile_path)) %></p>
</div>
<% else %>
<% content_for :head do %>