Rework sidebar to use padding on the sidebar_content div
This saves every header, list, paragraph etc having to sort out their own padding. The couple of instances where we want edge-to-edge can be acheived using the negative margin spacing utilities. The padding is based on $spacer so that it can be adjusted automatically via bootstrap configuration. This also means that we can remove many (mis-)uses of the browse-section class, which is only supposed to be for cases where there are multiple browse-sections in sequence (e.g. multiple nodes in the node history browse pages).
This commit is contained in:
parent
c2587b5b57
commit
c8f0a81eb7
16 changed files with 36 additions and 50 deletions
|
@ -30,11 +30,11 @@
|
|||
<div class="form-group d-flex">
|
||||
<%= submit_tag t(".export_button"), :class => "btn btn-primary mx-auto" %>
|
||||
</div>
|
||||
|
||||
<p><%= t ".too_large.advice" %></p>
|
||||
</div>
|
||||
|
||||
<dl class="inner12">
|
||||
<p><%= t ".too_large.advice" %></p>
|
||||
|
||||
<dl class="px-3">
|
||||
<dt><a id="export_overpass" href="https://overpass-api.de/api/map?bbox="><%= t ".too_large.overpass.title" %></a></dt>
|
||||
<dd><%= t ".too_large.overpass.description" %></dd>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue