Browse files

Separate the links in the bottom right map corner better

  • Loading branch information...
1 parent 8090e08 commit 68044c60545093f813ab46611973f052b4584e9a @tomhughes committed Feb 5, 2013
Showing with 13 additions and 8 deletions.
  1. +3 −0 app/assets/stylesheets/common.css.scss
  2. +10 −8 app/views/site/index.html.erb
View
3 app/assets/stylesheets/common.css.scss
@@ -1508,6 +1508,9 @@ ul.secondary-actions {
border-left: 0;
padding-left: 0;
}
+ &:last-child {
+ margin-right: 0px;
+ }
}
}
View
18 app/views/site/index.html.erb
@@ -19,14 +19,16 @@
<div id="map">
<div id="permalink">
- <a href="/" id="permalinkanchor" class="geolink llz layers object"><%= t 'site.index.permalink' %></a>
- <a href="/" id="shortlinkanchor"><%= t 'site.index.shortlink' %></a>
- <%= link_to t("site.index.createnote"), notes_url(:format => :json),
- :id => "createnoteanchor",
- :data => { :minzoom => 12 },
- :title => "javascripts.site.createnote_tooltip",
- :class => "geolink"
- %>
+ <ul class="secondary-actions">
+ <li><a href="/" id="permalinkanchor" class="geolink llz layers object"><%= t 'site.index.permalink' %></a></li>
+ <li><a href="/" id="shortlinkanchor"><%= t 'site.index.shortlink' %></a></li>
+ <li><%= link_to t("site.index.createnote"), notes_url(:format => :json),
+ :id => "createnoteanchor",
+ :data => { :minzoom => 12 },
+ :title => "javascripts.site.createnote_tooltip",
+ :class => "geolink"
+ %></li>
+ </ul>
</div>
</div>

0 comments on commit 68044c6

Please sign in to comment.