Skip to content

Commit 636eb83

Browse files
committed
fix: improve live preview rendering (#141)
1 parent 15bb5d7 commit 636eb83

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

src/assets/main.css

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,10 @@ input.is-invalid {
275275
margin-bottom: 0px;
276276
}
277277

278+
.is-live-preview .admonition-content > * br {
279+
display: none;
280+
}
281+
278282
.is-live-preview .admonition-content > *:first-child {
279283
margin-top: 16px;
280284
}
@@ -283,15 +287,6 @@ input.is-invalid {
283287
margin-bottom: 16px;
284288
}
285289

286-
287-
/* .is-live-preview .admonition-content .contains-task-list {
288-
padding-left: 0;
289-
}
290-
.is-live-preview .admonition-content ul li {
291-
text-indent: 0;
292-
} */
293-
294-
.is-live-preview .admonition-content li,
295290
.is-live-preview .admonition-content ul {
296-
line-height: 1;
291+
white-space: normal;
297292
}

0 commit comments

Comments
 (0)