Restore old padding for wiki blocks

Signed-off-by: 's avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent c61512d4
......@@ -52,6 +52,7 @@
&.wiki {
font-size: 14px;
line-height: 1.6;
padding: 25px;
.highlight {
margin-bottom: 9px;
......
......@@ -18,17 +18,16 @@
}
.title {
font-size: 20px;
font-size: 22px;
font-weight: 500;
line-height: 28px;
line-height: 1.5;
margin: 0;
color: #444;
border-bottom: 1px solid #eee;
color: #333;
}
.context {
border: none;
border-bottom: 1px solid #eee;
border-top: 1px solid #eee;
}
.description {
......@@ -36,7 +35,7 @@
}
.title, .context, .description {
padding: 15px 15px 15px 30px;
padding: 15px 25px;
.clearfix {
margin: 0;
......
......@@ -114,10 +114,6 @@
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 {
color: #888;
font-size: 14px;
......
......@@ -46,9 +46,10 @@
= render partial: 'issue_context', locals: { issue: @issue }
- if @issue.description.present?
.wiki
= preserve do
= markdown @issue.description
.description
.wiki
= preserve do
= markdown @issue.description
- content_for :note_actions do
- if can?(current_user, :modify_issue, @issue)
......
......@@ -15,9 +15,10 @@
- if @merge_request.description.present?
.wiki
= preserve do
= markdown @merge_request.description
.description
.wiki
= preserve do
= markdown @merge_request.description
- if @merge_request.closed?
.description.alert-danger
......
......@@ -43,9 +43,10 @@
.progress-bar{style: "width: #{@milestone.percent_complete}%;"}
- if @milestone.description.present?
.wiki
= preserve do
= markdown @milestone.description
.description
.wiki
= preserve do
= markdown @milestone.description
%ul.nav.nav-tabs.append-bottom-10
%li.active
......
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