From ba33ed41401e87a07f023c10972168f1bdd27534 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Thu, 18 Jul 2013 10:29:45 +0300 Subject: [PATCH] Fix new-tag-btn align --- app/assets/stylesheets/sections/projects.scss | 5 +++++ app/views/projects/tags/index.html.haml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/sections/projects.scss b/app/assets/stylesheets/sections/projects.scss index e4df01324..58f98f426 100644 --- a/app/assets/stylesheets/sections/projects.scss +++ b/app/assets/stylesheets/sections/projects.scss @@ -91,3 +91,8 @@ ul.nav.nav-projects-tabs { } } } + +.new-tag-btn { + position: relative; + top: -5px; +} diff --git a/app/views/projects/tags/index.html.haml b/app/views/projects/tags/index.html.haml index 094a325aa..5361517b2 100644 --- a/app/views/projects/tags/index.html.haml +++ b/app/views/projects/tags/index.html.haml @@ -2,7 +2,7 @@ - if can? current_user, :push_code, @project .pull-right - = link_to new_project_tag_path(@project), class: 'btn btn-create' do + = link_to new_project_tag_path(@project), class: 'btn btn-create new-tag-btn' do %i.icon-add-sign New tag -- 2.11.0