Replace custom css class with bootstrap inline utility

This has actually been broken since the controller was renamed,
but nobody noticed.
This commit is contained in:
Andy Allan 2019-12-19 19:18:52 +01:00
parent 1586e2ba80
commit 1ff7e3ac71
2 changed files with 1 additions and 9 deletions

View file

@ -1496,14 +1496,6 @@ tr.turn:hover {
}
}
/* Rules for the trace view */
.trace-show {
.geo {
display: inline;
}
}
/* Rules for the new trace form */
#new_trace {

View file

@ -25,7 +25,7 @@
<td><%= @trace.size.to_s.gsub(/(\d)(?=(\d{3})+$)/, '\1,') %></td></tr>
<tr>
<td><%= t ".start_coordinates" %></td>
<td><div class="geo"><span class="latitude"><%= @trace.latitude %></span>; <span class="longitude"><%= @trace.longitude %></span></div> (<%= link_to t(".map"), :controller => "site", :action => "index", :mlat => @trace.latitude, :mlon => @trace.longitude, :anchor => "map=14/#{@trace.latitude}/#{@trace.longitude}" %> / <%= link_to t(".edit"), :controller => "site", :action => "edit", :gpx => @trace.id, :anchor => "map=14/#{@trace.latitude}/#{@trace.longitude}" %>)</td>
<td><div class="d-inline"><span class="latitude"><%= @trace.latitude %></span>; <span class="longitude"><%= @trace.longitude %></span></div> (<%= link_to t(".map"), :controller => "site", :action => "index", :mlat => @trace.latitude, :mlon => @trace.longitude, :anchor => "map=14/#{@trace.latitude}/#{@trace.longitude}" %> / <%= link_to t(".edit"), :controller => "site", :action => "edit", :gpx => @trace.id, :anchor => "map=14/#{@trace.latitude}/#{@trace.longitude}" %>)</td>
</tr>
<% end %>
<tr>