remove margin from markdown hr

This commit is contained in:
plebeius.eth
2024-03-26 16:58:39 +01:00
parent 67f93349dd
commit 04159d9b33
5 changed files with 22 additions and 5 deletions
@@ -15,3 +15,11 @@
.markdown ul {
padding-left: 40px;
}
.hrWrapper {
padding: 0.5em 0;
}
.hrWrapper hr {
margin: 0;
}
+5
View File
@@ -67,6 +67,11 @@ const Markdown = ({ content }: MarkdownProps) => {
video: ({ src }) => <span>{src}</span>,
iframe: ({ src }) => <span>{src}</span>,
source: ({ src }) => <span>{src}</span>,
hr: () => (
<div className={styles.hrWrapper}>
<hr />
</div>
),
}}
/>
</span>