summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey <ad@2d-arts.com>2015-09-28 11:26:42 +0200
committerAndrey <ad@2d-arts.com>2015-09-28 11:26:42 +0200
commitce49e49bfb40872475b82b500f5e52f6ec36b81f (patch)
tree992f2b3f7c88e1d7644cbaae5de6b27c470592a0
parent12acf15c90d25a22e706737dc54f17466fb30320 (diff)
downloadgitlab-ce-ce49e49bfb40872475b82b500f5e52f6ec36b81f.tar.gz
edit action allign
-rw-r--r--app/assets/stylesheets/base/mixins.scss10
-rw-r--r--app/views/projects/_readme.html.haml2
2 files changed, 6 insertions, 6 deletions
diff --git a/app/assets/stylesheets/base/mixins.scss b/app/assets/stylesheets/base/mixins.scss
index 5a7e79ddecd..bba4728af36 100644
--- a/app/assets/stylesheets/base/mixins.scss
+++ b/app/assets/stylesheets/base/mixins.scss
@@ -243,11 +243,6 @@
}
}
-.pull-right .light .fa-pencil {
- top: 20px;
- position: relative;
-}
-
@mixin input-big {
height: 36px;
padding: 5px 10px;
@@ -300,3 +295,8 @@
}
}
}
+
+.fa-align {
+ top: 20px;
+ position: relative;
+} \ No newline at end of file
diff --git a/app/views/projects/_readme.html.haml b/app/views/projects/_readme.html.haml
index 5038edb95ed..5bc1999ec9d 100644
--- a/app/views/projects/_readme.html.haml
+++ b/app/views/projects/_readme.html.haml
@@ -5,7 +5,7 @@
&nbsp;
- if can?(current_user, :push_code, @project)
= link_to namespace_project_edit_blob_path(@project.namespace, @project, tree_join(@repository.root_ref, readme.name)), class: 'light' do
- %i.fa.fa-pencil
+ %i.fa-align.fa.fa-pencil
.wiki
= cache(readme_cache_key) do
= render_readme(readme)