Skip to content

Commit 5cb2076

Browse files
committed
fix(shadow): apply body style to shadow elements
1 parent 65c28d3 commit 5cb2076

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

styles/sectioning/mod.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Sections */
2-
body {
2+
body, :host {
33
max-width: var(--ct-width);
44
padding: 0 1.5rem;
55
margin: 0 auto;
@@ -10,6 +10,10 @@ body {
1010
line-height: 1.5;
1111
}
1212

13+
:host {
14+
max-width: auto;
15+
}
16+
1317
[data-color-scheme] {
1418
background: var(--bg-default);
1519
color: var(--default);

0 commit comments

Comments
 (0)