mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-21 21:45:42 -05:00
fix: inject frame CSS into page so plugin-provided frames render correctly
This commit is contained in:
parent
72f39071da
commit
c9e8e7b996
@ -261,6 +261,7 @@ export function renderPage(
|
||||
<html lang={lang} dir={direction}>
|
||||
<Head {...componentData} />
|
||||
<body data-slug={slug}>
|
||||
{frame.css && <style dangerouslySetInnerHTML={{ __html: frame.css }} />}
|
||||
<div id="quartz-root" class="page" data-frame={frame.name}>
|
||||
<Body {...componentData}>
|
||||
{[
|
||||
|
||||
Loading…
Reference in New Issue
Block a user