Skip to content

Commit

Permalink
fix(shadow): apply body style to shadow elements
Browse files Browse the repository at this point in the history
  • Loading branch information
lowlighter committed Dec 19, 2024
1 parent 65c28d3 commit 5cb2076
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion styles/sectioning/mod.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Sections */
body {
body, :host {
max-width: var(--ct-width);
padding: 0 1.5rem;
margin: 0 auto;
Expand All @@ -10,6 +10,10 @@ body {
line-height: 1.5;
}

:host {
max-width: auto;
}

[data-color-scheme] {
background: var(--bg-default);
color: var(--default);
Expand Down

0 comments on commit 5cb2076

Please sign in to comment.