From 483b2f204e90c657dd4e545c82f2c9094bcacc83 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Wed, 6 Nov 2013 11:28:22 -0800 Subject: [PATCH] Float li's to eliminate whitespace between them --- app/assets/stylesheets/common.css.scss | 1 + app/views/layouts/_header.html.erb | 34 ++++++++++++++------------ 2 files changed, 19 insertions(+), 16 deletions(-) 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' %>
  • -- 2.43.2