Refactor paragraph margin to avoid custom css
This commit is contained in:
parent
31e247c1e2
commit
99abdeb683
2 changed files with 1 additions and 4 deletions
|
@ -1107,9 +1107,6 @@ tr.turn:hover {
|
||||||
}
|
}
|
||||||
|
|
||||||
.dashboards-show {
|
.dashboards-show {
|
||||||
p#no_home_location {
|
|
||||||
margin: $lineheight;
|
|
||||||
}
|
|
||||||
.user_thumbnail {
|
.user_thumbnail {
|
||||||
margin-top: $lineheight/4;
|
margin-top: $lineheight/4;
|
||||||
float: left;
|
float: left;
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<div class="col-md order-md-last">
|
<div class="col-md order-md-last">
|
||||||
<% if @user.home_lat.nil? or @user.home_lon.nil? %>
|
<% if @user.home_lat.nil? or @user.home_lon.nil? %>
|
||||||
<div id="map" class="content_map">
|
<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>
|
</div>
|
||||||
<% else %>
|
<% else %>
|
||||||
<% content_for :head do %>
|
<% content_for :head do %>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue