Skip to content

Commit 0fe1d9b

Browse files
committed
ensure max-width is not set on parallax sliders (closes #33)
1 parent 8e11ef5 commit 0fe1d9b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

parallax.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,8 @@
237237
top: this.offsetTop,
238238
left: this.offsetLeft,
239239
height: this.imageHeight,
240-
width: this.imageWidth
240+
width: this.imageWidth,
241+
maxWidth: 'none'
241242
});
242243
}
243244
});

parallax.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)