Skip to content

Commit

Permalink
fix: improve live preview rendering (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
valentine195 committed Jan 7, 2022
1 parent 15bb5d7 commit 636eb83
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions src/assets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,10 @@ input.is-invalid {
margin-bottom: 0px;
}

.is-live-preview .admonition-content > * br {
display: none;
}

.is-live-preview .admonition-content > *:first-child {
margin-top: 16px;
}
Expand All @@ -283,15 +287,6 @@ input.is-invalid {
margin-bottom: 16px;
}


/* .is-live-preview .admonition-content .contains-task-list {
padding-left: 0;
}
.is-live-preview .admonition-content ul li {
text-indent: 0;
} */

.is-live-preview .admonition-content li,
.is-live-preview .admonition-content ul {
line-height: 1;
white-space: normal;
}

0 comments on commit 636eb83

Please sign in to comment.