Commit d39948a8 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Restore old padding for wiki blocks

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent c61512d4
...@@ -52,6 +52,7 @@ ...@@ -52,6 +52,7 @@
&.wiki { &.wiki {
font-size: 14px; font-size: 14px;
line-height: 1.6; line-height: 1.6;
padding: 25px;
.highlight { .highlight {
margin-bottom: 9px; margin-bottom: 9px;
......
...@@ -18,17 +18,16 @@ ...@@ -18,17 +18,16 @@
} }
.title { .title {
font-size: 20px; font-size: 22px;
font-weight: 500; font-weight: 500;
line-height: 28px; line-height: 1.5;
margin: 0; margin: 0;
color: #444; color: #333;
border-bottom: 1px solid #eee;
} }
.context { .context {
border: none; border: none;
border-bottom: 1px solid #eee; border-top: 1px solid #eee;
} }
.description { .description {
...@@ -36,7 +35,7 @@ ...@@ -36,7 +35,7 @@
} }
.title, .context, .description { .title, .context, .description {
padding: 15px 15px 15px 30px; padding: 15px 25px;
.clearfix { .clearfix {
margin: 0; margin: 0;
......
...@@ -114,10 +114,6 @@ ...@@ -114,10 +114,6 @@
font-size: 1.2em; font-size: 1.2em;
} }
// Larger 30px left margin is required for the header link icon.
// Use on all markdown including those without header links for uniformity.
margin: 20px 20px 20px 30px;
blockquote p { blockquote p {
color: #888; color: #888;
font-size: 14px; font-size: 14px;
......
...@@ -46,6 +46,7 @@ ...@@ -46,6 +46,7 @@
= render partial: 'issue_context', locals: { issue: @issue } = render partial: 'issue_context', locals: { issue: @issue }
- if @issue.description.present? - if @issue.description.present?
.description
.wiki .wiki
= preserve do = preserve do
= markdown @issue.description = markdown @issue.description
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
- if @merge_request.description.present? - if @merge_request.description.present?
.description
.wiki .wiki
= preserve do = preserve do
= markdown @merge_request.description = markdown @merge_request.description
......
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
.progress-bar{style: "width: #{@milestone.percent_complete}%;"} .progress-bar{style: "width: #{@milestone.percent_complete}%;"}
- if @milestone.description.present? - if @milestone.description.present?
.description
.wiki .wiki
= preserve do = preserve do
= markdown @milestone.description = markdown @milestone.description
......
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