Commit 248a3e5688b7576995d21f1fb47c3deb2ae4de08

Authored by Dmitriy Zaporozhets
1 parent a76bf07a

Fix help page UI

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
app/assets/stylesheets/sections/help.scss
1 1 .documentation {
2   - padding-bottom: 10px;
3   - p {
4   - padding: 10px 14px;
  2 + h1 {
5 3 margin: 0;
6 4 }
7 5  
  6 + h2 {
  7 + font-size: 20px;
  8 + }
  9 +
8 10 li {
9 11 line-height: 24px;
10 12 color: #888;
... ...
app/views/help/index.html.haml
... ... @@ -36,9 +36,9 @@
36 36 .col-md-8
37 37 .panel.panel-default.documentation
38 38 .panel-heading Documentation
39   -
40   - = preserve do
41   - - readme_text = File.read(Rails.root.join("doc", "README.md"))
42   - - text = readme_text.dup
43   - - readme_text.scan(/\]\(([^(]+)\)/) { |match| text.gsub!(match.first, "help/#{match.first}") }
44   - = markdown text
  39 + .panel-body
  40 + = preserve do
  41 + - readme_text = File.read(Rails.root.join("doc", "README.md"))
  42 + - text = readme_text.dup
  43 + - readme_text.scan(/\]\(([^(]+)\)/) { |match| text.gsub!(match.first, "help/#{match.first}") }
  44 + = markdown text
... ...