Fixing title render.

This commit is contained in:
Ada Werefox 2023-04-13 12:54:37 -05:00
parent 8b04898c25
commit 9d46693ba8

View File

@ -6,7 +6,7 @@ pub fn Title(cx: Scope<TitleProps>) -> Element {
let is_html = cx.props.is_html; let is_html = cx.props.is_html;
cx.render(rsx!{ 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", 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 } TitleHtml { title: title, is_html: is_html }
} }
} }