Commit 6b9b8298 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix edit readme link on project home page

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent d8a9acde
......@@ -153,8 +153,3 @@
}
}
}
.fa-align {
top: 20px;
position: relative;
}
......@@ -515,3 +515,10 @@ pre.light-well {
.project-show-readme .readme-holder {
padding: 7px;
}
.edit-project-readme {
position: relative;
top: 20px;
z-index: 100;
color: $gl-gray;
}
......@@ -4,7 +4,7 @@
.pull-right
&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
= link_to namespace_project_edit_blob_path(@project.namespace, @project, tree_join(@repository.root_ref, readme.name)), class: 'edit-project-readme' do
%i.fa-align.fa.fa-pencil
.wiki
= cache(readme_cache_key) do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment