Skip to content
Snippets Groups Projects
Verified Commit 6b9b8298 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix edit readme link on project home page

parent d8a9acde
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -153,8 +153,3 @@
}
}
}
.fa-align {
top: 20px;
position: relative;
}
Loading
Loading
@@ -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;
}
Loading
Loading
@@ -4,7 +4,7 @@
.pull-right
 
- 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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment