Skip to content

Commit

Permalink
Fix rendering issue when text is direct child of list
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiaslins committed Feb 23, 2021
1 parent 4d663f1 commit ff90803
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ img.notion-page-icon {

.notion-list-disc {
list-style-type: disc;
padding-inline-start: 1.7em;
padding-inline-start: 1.6em;
margin-top: 0px;
margin-bottom: 0px;
}
Expand All @@ -304,10 +304,15 @@ img.notion-page-icon {
}

.notion-list li {
padding: 6px 0px;
padding: 4px 0px;
white-space: pre-wrap;
}

.notion-list > .notion-text {
margin-left: -1.6em;
padding-left: 0px;
}

.notion-asset-wrapper {
margin: 0.5rem auto 0.5rem;
max-width: 100%;
Expand Down

0 comments on commit ff90803

Please sign in to comment.