Forked from artursopelnik/slick carousel - print styles
Created
January 30, 2020 15:31
-
-
Save tyler-vs/f8552c10048e22339016a430749824dd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @media print { | |
| // Show Only Active Slide | |
| .slick-slide { | |
| display: none !important; | |
| &.slick-active { | |
| display: block !important; | |
| } | |
| } | |
| // Reset adaptiveHeight | |
| .slick-list { | |
| height: auto !important; | |
| } | |
| // Remove Scrollbars | |
| .slick-track { | |
| width: auto !important; | |
| height: auto !important; | |
| transform: none !important; | |
| .slick-slide { | |
| width: auto !important; | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment