Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom styles per pop-up #284

Open
joeldeteves opened this issue Aug 23, 2022 · 0 comments
Open

Custom styles per pop-up #284

joeldeteves opened this issue Aug 23, 2022 · 0 comments

Comments

@joeldeteves
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant