Skip to content

Commit

Permalink
fix: list p style
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <[email protected]>
  • Loading branch information
Innei committed Jun 12, 2024
1 parent c4747b9 commit c3f5c79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions src/components/ui/editor/Milkdown/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
}

.editor blockquote {
@apply border-l-4 border-accent pl-4 font-serif not-italic;
@apply border-l-4 border-accent pl-4 font-serif not-italic;
}

.editor code:not(pre > code) {
Expand Down Expand Up @@ -122,10 +122,6 @@
@apply list-inside list-decimal;
}

.editor li > p {
@apply inline;
}

.editor {
font-size: 14px;
}
Expand Down
6 changes: 1 addition & 5 deletions src/components/ui/markdown/markdown.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,12 @@
}
}

li > p {
display: inline;
}

li {
margin: 0.5em 0;
}

:global(a.is-link) {
@apply break-all border-b-[0.5px] border-current text-inherit no-underline duration-200 hover:text-accent;
@apply break-all border-b-[0.5px] border-current text-inherit no-underline duration-200 hover:text-accent;
}

hr {
Expand Down

0 comments on commit c3f5c79

Please sign in to comment.