Skip to content

Commit

Permalink
Merge pull request #47 from PolyHx/fix/markdown-preview
Browse files Browse the repository at this point in the history
Fix markdown table preview
  • Loading branch information
JulienDuf authored Mar 21, 2019
2 parents 1b36cf8 + d1afad8 commit 5dfef07
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 38 additions & 0 deletions src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -759,6 +759,44 @@ markdown {
table tr:nth-child(2n) {
background-color: #f6f8fa;
}

table td ul {
margin-bottom: 0 !important;
}
}

.preview-panel {
table {
margin-bottom: 16px !important;
border: 1px solid #dfe2e5 !important;
}

table th {
font-weight: 600 !important;
text-align: left !important;
}

table td,
table th {
border: 1px solid #dfe2e5 !important;
padding: 6px 13px !important;
text-align: left !important;
color: rgb(74, 74, 74) !important;
font-size: 16px !important;
}

table tr {
background-color: #fff !important;
border-top: 1px solid #c6cbd1 !important;
}

table tr:nth-child(2n) {
background-color: #f6f8fa !important;
}

table td ul {
margin-bottom: 0 !important;
}
}

.btn-primary {
Expand Down

0 comments on commit 5dfef07

Please sign in to comment.