fix ol links

This commit is contained in:
saml33 2024-03-19 16:04:04 +11:00
parent 0cd31db6ac
commit 7140d9a7a6
3 changed files with 9 additions and 2 deletions

View File

@ -158,7 +158,10 @@ const Ul = ({ children }) => (
<ul style={{ listStyle: 'outside disc', marginLeft: '16px' }}>{children}</ul>
)
const Ol = ({ children }) => (
<ol style={{ listStyle: 'outside number', marginLeft: '20px' }}>
<ol
className="rich-text-ol"
style={{ listStyle: 'outside number', marginLeft: '20px' }}
>
{children}
</ol>
)

View File

@ -280,3 +280,7 @@ table p {
b {
@apply text-th-fgd-1;
}
.rich-text-ol a {
@apply border-b border-th-active md:hover:border-transparent text-lg text-th-fgd-3;
}

File diff suppressed because one or more lines are too long