We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e464515 commit b00514eCopy full SHA for b00514e
packages/koenig-lexical/src/components/ui/cards/CtaCard.jsx
@@ -68,7 +68,7 @@ export function CtaCard({
68
nodes='basic'
69
placeholderClassName={`bg-transparent whitespace-normal font-serif text-xl !text-grey-500 !dark:text-grey-800 ` }
70
placeholderText="Write something worth clicking..."
71
- textClassName="w-full bg-transparent whitespace-normal font-serif text-xl text-grey-900 dark:text-grey-200"
+ textClassName={`w-full bg-transparent whitespace-normal font-serif text-xl text-grey-900 dark:text-grey-200 ${layout === 'immersive' ? 'text-center' : 'text-left'}`}
72
>
73
<ReplacementStringsPlugin />
74
</KoenigNestedEditor>
0 commit comments