Skip to content

Commit 85ca7b7

Browse files
committed
fix: partial fix for LP display issues
1 parent ae8d9ad commit 85ca7b7

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

src/assets/main.css

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,3 +268,30 @@ input.is-invalid {
268268
box-shadow: 0px 0px 5px rgb(0 0 0 / 50%);
269269
border-color: var(--background-modifier-border-focus);
270270
}
271+
272+
/** Live Preview */
273+
.is-live-preview .admonition-content > * {
274+
margin-top: 0px;
275+
margin-bottom: 0px;
276+
}
277+
278+
.is-live-preview .admonition-content > *:first-child {
279+
margin-top: 16px;
280+
}
281+
282+
.is-live-preview .admonition-content > *:last-child {
283+
margin-bottom: 16px;
284+
}
285+
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,
295+
.is-live-preview .admonition-content ul {
296+
line-height: 1;
297+
}

0 commit comments

Comments
 (0)