From 5cb2076a187e135ac3f92c40a0d3b73f69c19c95 Mon Sep 17 00:00:00 2001 From: Simon Lecoq <22963968+lowlighter@users.noreply.github.com> Date: Thu, 19 Dec 2024 00:51:29 -0500 Subject: [PATCH] fix(shadow): apply body style to shadow elements --- styles/sectioning/mod.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/styles/sectioning/mod.css b/styles/sectioning/mod.css index 521143c..41c791d 100644 --- a/styles/sectioning/mod.css +++ b/styles/sectioning/mod.css @@ -1,5 +1,5 @@ /* Sections */ -body { +body, :host { max-width: var(--ct-width); padding: 0 1.5rem; margin: 0 auto; @@ -10,6 +10,10 @@ body { line-height: 1.5; } +:host { + max-width: auto; +} + [data-color-scheme] { background: var(--bg-default); color: var(--default);