Commit e66fa410 authored by Alex Braha Stoll's avatar Alex Braha Stoll

Improve style of wiki page lists

parent f25344e3
...@@ -130,6 +130,10 @@ ...@@ -130,6 +130,10 @@
margin: 5px 0 10px; margin: 5px 0 10px;
} }
ul.wiki-pages ul {
padding-left: 15px;
}
.wiki-sidebar-header { .wiki-sidebar-header {
padding: 0 $gl-padding $gl-padding; padding: 0 $gl-padding $gl-padding;
...@@ -138,3 +142,15 @@ ...@@ -138,3 +142,15 @@
} }
} }
} }
ul.wiki-pages-list.content-list {
& ul {
list-style: none;
margin-left: 0;
padding-left: 15px;
}
& ul li {
padding: 5px 0;
}
}
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
= icon('cloud-download') = icon('cloud-download')
Clone repository Clone repository
%ul.content-list %ul.wiki-pages-list.content-list
- @wiki_directories.each do |wiki_directory, wiki_pages| - @wiki_directories.each do |wiki_directory, wiki_pages|
- if wiki_directory == '/' - if wiki_directory == '/'
= render 'wiki_pages', wiki_pages: wiki_pages = render 'wiki_pages', wiki_pages: wiki_pages
......
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