From: John Firebaugh Date: Wed, 6 Nov 2013 19:28:22 +0000 (-0800) Subject: Float li's to eliminate whitespace between them X-Git-Tag: live~4740^2~178 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/483b2f204e90c657dd4e545c82f2c9094bcacc83?ds=sidebyside Float li's to eliminate whitespace between them --- diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 19cb873df..1e2ce723d 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -298,6 +298,7 @@ nav.primary { > li { border-right: $border; + float: left; &:last-child { border-right: 0; > a { border-radius: 0 $border-radius $border-radius 0; } diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb index ab60af2fa..160419c5e 100644 --- a/app/views/layouts/_header.html.erb +++ b/app/views/layouts/_header.html.erb @@ -12,23 +12,25 @@ <%= link_to t('layouts.view'), root_path, :class => 'tab geolink layers' %>
  • + <%= link_to t('layouts.edit'), edit_path, :class => "tab geolink object", + :id => 'editanchor', + :data => { :editor => preferred_editor } + %> + +
  • +
  • <%= link_to t('layouts.history'), history_path, :class => 'tab geolink' %> -
  • +
  • +
  • <%= link_to t('layouts.export'), export_path, :class => 'tab geolink' %>