From 8e7f053f0753979f0c527b6453fafc896e0d39e6 Mon Sep 17 00:00:00 2001 From: Micah Hahn Date: Mon, 1 May 2023 14:38:39 -0500 Subject: [PATCH] Apply the styles to the markdown wrapper node, not the children --- src/Nri/Ui/Block/V4.elm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Nri/Ui/Block/V4.elm b/src/Nri/Ui/Block/V4.elm index 73a51d6f..1397d493 100644 --- a/src/Nri/Ui/Block/V4.elm +++ b/src/Nri/Ui/Block/V4.elm @@ -278,13 +278,13 @@ renderContent content_ styles = tag = case markdown of Bold -> - strong [] + strong [ css styles ] Italic -> - em [] + em [ css styles ] in contents - |> List.map (\c -> renderContent c styles) + |> List.map (\c -> renderContent c []) |> tag