Skip to content

Commit ff90803

Browse files
committed
Fix rendering issue when text is direct child of list
1 parent 4d663f1 commit ff90803

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/styles.css

+7-2
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ img.notion-page-icon {
284284

285285
.notion-list-disc {
286286
list-style-type: disc;
287-
padding-inline-start: 1.7em;
287+
padding-inline-start: 1.6em;
288288
margin-top: 0px;
289289
margin-bottom: 0px;
290290
}
@@ -304,10 +304,15 @@ img.notion-page-icon {
304304
}
305305

306306
.notion-list li {
307-
padding: 6px 0px;
307+
padding: 4px 0px;
308308
white-space: pre-wrap;
309309
}
310310

311+
.notion-list > .notion-text {
312+
margin-left: -1.6em;
313+
padding-left: 0px;
314+
}
315+
311316
.notion-asset-wrapper {
312317
margin: 0.5rem auto 0.5rem;
313318
max-width: 100%;

0 commit comments

Comments
 (0)