CSS Improvement for printing #458

MrTovson opened this Issue Nov 8, 2016 · 0 comments


None yet

1 participant

MrTovson commented Nov 8, 2016

I noticed that the fixed height of the unslider container would clip when printing.

The following CSS was sufficient to solve the issue, where TabSlider is the class of the div :

@media print { .TabSlider { height:auto!important; } }

This is needed as the height is being computed by unslider and set a specific height.

example Javascript:

autoplay: false,
keys: false,
arrows: false,
nav: false,
infinite: false,
animateHeight: true,
index: 1

I hope this helps someone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment