Skip to content

Commit 5e9f3a3

Browse files
author
Alban Bailly
committed
fix box shadow bug
1 parent 115f1e9 commit 5e9f3a3

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/css/components/0_utilities/layout.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,7 @@ html {
1515
width: inherit;
1616
overflow: inherit;
1717
}
18+
19+
.entry-point > div {
20+
box-shadow: none;
21+
}

src/html.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ function HTML(props) {
1717
/>
1818
</head>
1919
<body>
20-
<div id="___gatsby" dangerouslySetInnerHTML={{ __html: props.body }} />
20+
<div
21+
id="___gatsby"
22+
className="entry-point"
23+
dangerouslySetInnerHTML={{ __html: props.body }}
24+
/>
2125
{props.postBodyComponents}
2226
</body>
2327
</html>

0 commit comments

Comments
 (0)