From 9d46693ba892005c94cf5dccbc9280cac6ac171e Mon Sep 17 00:00:00 2001 From: Ada Werefox Date: Thu, 13 Apr 2023 12:54:37 -0500 Subject: [PATCH] Fixing title render. --- void-fe/src/components/void_title.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/void-fe/src/components/void_title.rs b/void-fe/src/components/void_title.rs index d5816d0..bd69b85 100644 --- a/void-fe/src/components/void_title.rs +++ b/void-fe/src/components/void_title.rs @@ -6,7 +6,7 @@ pub fn Title(cx: Scope) -> Element { let is_html = cx.props.is_html; cx.render(rsx!{ div { class: "p-4 ring-4 bg-alice-werefox-grey-lightest dark:bg-alice-werefox-grey-dark ring-alice-werefox-red-dark dark:ring-alice-werefox-red text-alice-werefox-grey-dark dark:text-alice-werefox-grey-light", - p { class: "flex flex-row mx-auto max-w-full justify-center text-xl text-center", + span { class: "flex flex-row mx-auto max-w-full justify-center text-xl text-center", TitleHtml { title: title, is_html: is_html } } }