fix: styling
Some checks are pending
Deploy / deploy (push) Waiting to run

This commit is contained in:
Benno Tielen 2026-04-13 10:12:44 +02:00
parent d2b5a08214
commit 1bd95548fa
4 changed files with 16 additions and 10 deletions

View file

@ -2,7 +2,7 @@
.button { .button {
font-family: inherit; font-family: inherit;
color: $white; color: $white !important;
border-radius: $border-radius; border-radius: $border-radius;
text-align: center; text-align: center;
border: 0; border: 0;

View file

@ -1,6 +1,7 @@
import { RichText as PayloadRichText } from '@payloadcms/richtext-lexical/react' import { RichText as PayloadRichText } from '@payloadcms/richtext-lexical/react'
import { SerializedEditorState } from 'lexical' import { SerializedEditorState } from 'lexical'
import { jsxConverters } from './converters' import { jsxConverters } from './converters'
import styles from "./richtext.module.scss"
type RichTextProps = { type RichTextProps = {
@ -12,5 +13,5 @@ type RichTextProps = {
// Use this everywhere instead of importing RichText directly from Payload, so // Use this everywhere instead of importing RichText directly from Payload, so
// the converters can never be forgotten. // the converters can never be forgotten.
export const RichText = ({ data }: RichTextProps) => ( export const RichText = ({ data }: RichTextProps) => (
<PayloadRichText data={data} converters={jsxConverters} /> <PayloadRichText data={data} converters={jsxConverters} className={styles.container}/>
) )

View file

@ -1,11 +1,3 @@
.container a {
color: inherit;
}
.container a:visited {
color: inherit;
}
.half { .half {
width: 50%; width: 50%;
} }

View file

@ -0,0 +1,13 @@
@import 'template.scss';
.container a {
color: inherit;
}
.container a:visited {
color: inherit;
}
.container h3, .container h4, .container h5, .container h6 {
color: $base-color;
}