link in ul rich text style

This commit is contained in:
saml33 2024-04-03 10:50:49 +11:00
parent d32a32dd38
commit 52aa37803c
2 changed files with 10 additions and 1 deletions

View File

@ -155,7 +155,12 @@ const H2 = ({ children, id }) => (
const H3 = ({ children }) => <h3 className="mb-2 text-xl">{children}</h3>
const H4 = ({ children }) => <h3 className="mb-1.5 text-lg">{children}</h3>
const Ul = ({ children }) => (
<ul style={{ listStyle: 'outside disc', marginLeft: '16px' }}>{children}</ul>
<ul
className="rich-text-ul"
style={{ listStyle: 'outside disc', marginLeft: '16px' }}
>
{children}
</ul>
)
const Ol = ({ children }) => (
<ol

View File

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