Skip to content

Carousel: Handle print media #795

@jurajkapsz

Description

@jurajkapsz

Is your feature request related to a problem? Please describe.

I've applied Carousel to selected page content, but now the page's print version does not include slided content, which I would like to include in the print version. Maybe, the Carousel presentation has not so much utility for a print version.

I'm importing carousel styles via Vite eg with import "@fancyapps/ui/dist/carousel/carousel.css";.

For now, to solve printed version, I've included Carousel styles under a @media screen CSS block and made a few additional CSS overrides under @media print eg disabling CSS transform for .f-carousel__slide.

Describe the solution you'd like

Maybe Carousel could be disabled by design for a printed version, ie written under @media screen?

Describe alternatives you've considered

Maybe breakpoints could recognize a print option to have some flexibility for having carousel-like presentation in printed version or not.

Though presenting a print of page with a carousel feature could be rather a matter of printing out a screenshot rather than having a working CSS print style.

Additional context

Using Carousel version v6.0.26.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions