Skip to content

Custom styles per pop-up #284

Description

@joeldeteves

Hi there,

I am wondering if it's possible to apply custom styles to individual iframes.

I have a YouTube video that looks great, but I'd also like to use Lity for an iframe that contains a scheduling calendar.

My problem is in order to make the calendar display without a scrollbar, I have to set the following CSS:

.lity-iframe-container {
  	min-height: 680px;
}

However, this causes the video container to expand to 680 px as well, resulting in a letterbox effect.

Is it possible to style them separately so my video retains its original size (without letterboxes) and the scheduler appears without a scrollbar?

Activity

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

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