Skip to content

Commit 88d27ab

Browse files
KEVIN NAYLORKEVIN NAYLOR
authored andcommitted
More responsive image width?
1 parent fa2b5a0 commit 88d27ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ParallaxImage.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ export class ParallaxImage extends Component {
99
backgroundPosition: "center",
1010
backgroundRepeat: "no-repeat",
1111
backgroundSize: "cover",
12-
minHeight: "800px"
12+
minHeight: "800px",
13+
maxWidth: "100%"
1314
};
1415
return (
1516
<div>

0 commit comments

Comments
 (0)