From e66fa4105b4ae275dc76a6594346367bd32b5ce9 Mon Sep 17 00:00:00 2001
From: Alex Braha Stoll <alexbrahastoll@gmail.com>
Date: Mon, 19 Dec 2016 03:13:26 -0200
Subject: [PATCH] Improve style of wiki page lists

---
 app/assets/stylesheets/pages/wiki.scss   | 16 ++++++++++++++++
 app/views/projects/wikis/pages.html.haml |  2 +-
 2 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/app/assets/stylesheets/pages/wiki.scss b/app/assets/stylesheets/pages/wiki.scss
index 6423c7d6302..819e4c3e3d8 100644
--- a/app/assets/stylesheets/pages/wiki.scss
+++ b/app/assets/stylesheets/pages/wiki.scss
@@ -130,6 +130,10 @@
     margin: 5px 0 10px;
   }
 
+  ul.wiki-pages ul {
+    padding-left: 15px;
+  }
+
   .wiki-sidebar-header {
     padding: 0 $gl-padding $gl-padding;
 
@@ -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;
+  }
+}
diff --git a/app/views/projects/wikis/pages.html.haml b/app/views/projects/wikis/pages.html.haml
index 2813b3a1c81..28dd81e5c3f 100644
--- a/app/views/projects/wikis/pages.html.haml
+++ b/app/views/projects/wikis/pages.html.haml
@@ -13,7 +13,7 @@
         = icon('cloud-download')
         Clone repository
 
-  %ul.content-list
+  %ul.wiki-pages-list.content-list
     - @wiki_directories.each do |wiki_directory, wiki_pages|
       - if wiki_directory == '/'
         = render 'wiki_pages', wiki_pages: wiki_pages
-- 
GitLab