lity icon indicating copy to clipboard operation
lity copied to clipboard

Custom styles per pop-up

Open joeldeteves opened this issue 3 years ago • 0 comments

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?

joeldeteves avatar Aug 23 '22 03:08 joeldeteves