Skip to content

Commit

Permalink
css: Match markdown preview to real width when write a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
doortts committed Sep 24, 2017
1 parent 8303ad8 commit 2f6fc6a
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions app/assets/stylesheets/less/_page.less
Original file line number Diff line number Diff line change
Expand Up @@ -3161,21 +3161,17 @@ div.markdown-loader {
}

div.markdown-preview {
font-size: 1.1em;
&.update-comment-body, &.comment-body {
font-size: 1.05em;
}
overflow-x:auto;
margin: 0;
vertical-align : middle;
border:2px solid #ccc;
border:1px solid #ccc;
.border-radius(0 0 3px 3px);
background: #FAFAFA;
padding: 10px 20px;
padding: 15px 20px;
:first-child {
margin-top: 0;
}
}

.write-comment-box {
padding: 0px 0 15px 50px;
padding: 0 0 15px 54px;
font-family:@base-font-family;

.write-comment-wrap {
Expand Down

0 comments on commit 2f6fc6a

Please sign in to comment.