From 248a3e5688b7576995d21f1fb47c3deb2ae4de08 Mon Sep 17 00:00:00 2001
From: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Date: Thu, 5 Jun 2014 09:39:03 +0300
Subject: [PATCH] Fix help page UI

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
---
 app/assets/stylesheets/sections/help.scss |  8 +++++---
 app/views/help/index.html.haml            | 12 ++++++------
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/app/assets/stylesheets/sections/help.scss b/app/assets/stylesheets/sections/help.scss
index 178a735941d..94cef187d1c 100644
--- a/app/assets/stylesheets/sections/help.scss
+++ b/app/assets/stylesheets/sections/help.scss
@@ -1,10 +1,12 @@
 .documentation {
-  padding-bottom: 10px;
-  p {
-    padding: 10px 14px;
+  h1 {
     margin: 0;
   }
 
+  h2 {
+    font-size: 20px;
+  }
+
   li {
     line-height: 24px;
     color: #888;
diff --git a/app/views/help/index.html.haml b/app/views/help/index.html.haml
index 1b714429f14..258a468f7bd 100644
--- a/app/views/help/index.html.haml
+++ b/app/views/help/index.html.haml
@@ -36,9 +36,9 @@
   .col-md-8
     .panel.panel-default.documentation
       .panel-heading Documentation
-
-      = preserve do
-        - readme_text = File.read(Rails.root.join("doc", "README.md"))
-        - text = readme_text.dup
-        - readme_text.scan(/\]\(([^(]+)\)/) { |match| text.gsub!(match.first, "help/#{match.first}") }
-        = markdown text
+      .panel-body
+        = preserve do
+          - readme_text = File.read(Rails.root.join("doc", "README.md"))
+          - text = readme_text.dup
+          - readme_text.scan(/\]\(([^(]+)\)/) { |match| text.gsub!(match.first, "help/#{match.first}") }
+          = markdown text
-- 
GitLab