From 718af70350ba715df01adf6d7657cef51061217c Mon Sep 17 00:00:00 2001 From: Ben Life Date: Fri, 2 Oct 2026 15:56:18 -0400 Subject: [PATCH] fix dom nesting --- packages/visual-editor/src/components/atoms/maybeRTF.css | 5 +++++ .../src/components/pageSections/FAQsSection/FAQCard.tsx | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/visual-editor/src/components/atoms/maybeRTF.css b/packages/visual-editor/src/components/atoms/maybeRTF.css index ea77ed5616..4790fb3a51 100644 --- a/packages/visual-editor/src/components/atoms/maybeRTF.css +++ b/packages/visual-editor/src/components/atoms/maybeRTF.css @@ -125,6 +125,11 @@ } /* Set the body variants */ +.rtf-body-xs p, +.rtf-body-xs li { + font-size: calc(var(--fontSize-body-fontSize) - 4px) !important; +} + .rtf-body-sm p, .rtf-body-sm li { font-size: calc(var(--fontSize-body-fontSize) - 2px) !important; diff --git a/packages/visual-editor/src/components/pageSections/FAQsSection/FAQCard.tsx b/packages/visual-editor/src/components/pageSections/FAQsSection/FAQCard.tsx index 135af54906..16a7a0c31d 100644 --- a/packages/visual-editor/src/components/pageSections/FAQsSection/FAQCard.tsx +++ b/packages/visual-editor/src/components/pageSections/FAQsSection/FAQCard.tsx @@ -265,9 +265,7 @@ const FAQCardComponent: PuckComponent = (props) => { {resolvedQuestion} - - {resolvedAnswer} - + {resolvedAnswer} ); };