forked from openstreetmap/openstreetmap-website
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP use flexbox to position the close icon on the sidebar
- Loading branch information
1 parent
9b19a45
commit b3fc5bc
Showing
6 changed files
with
15 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<div class="d-flex w-100"> | ||
<div class="flex-grow-1 text-break"> | ||
<h2><%= title %></h2> | ||
</div> | ||
<div class="px-3 py-3"> | ||
<a class="geolink" href="<%= root_path %>"> | ||
<span class="icon close"></span> | ||
</a> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
<h2> | ||
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a> | ||
<%= t ".sorry", :type => t(".type.#{@type}"), :id => params[:id] %> | ||
</h2> | ||
<%= render "sidebar_header", :title => t(".sorry", :type => t(".type.#{@type}"), :id => params[:id]) %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters