Increase font-weight of code mark in headings (#123)

This commit is contained in:
Samy Pessé
2024-01-27 22:11:27 +01:00
committed by GitHub
parent 0096947c72
commit 86a436645a
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -65,7 +65,6 @@ function Code(props: MarkedLeafProps<DocumentMarkCode>) {
return (
<code
className={tcls(
'font-normal',
'py-[1px]',
'px-1.5',
'min-w-[1.625rem]',
@@ -82,7 +81,6 @@ function Code(props: MarkedLeafProps<DocumentMarkCode>) {
'dark:ring-light/1',
'dark:bg-light/1',
'dark:text-light/7',
'[&>*]:font-normal',
// Text size is proportional to the font-size of the parent element
'text-[.875em]',
// We ensure that the code is not making the parent bigger, especially in headings