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

Add UI for user to input the media queries for their main content width #4

Open
westonruter opened this issue Sep 1, 2021 · 0 comments

Comments

@westonruter
Copy link
Collaborator

Given that the viewport width is often not the same content width (given sidebars, margins, etc), the calculated heights for the embeds may not be accurate for the media queries. While the generated output includes container queries, those aren't supported by any stable browser yet. Therefore, to ensure that the computed media queries are accurate there needs to be a way for the user to indicate the widths of the main content area (in which the embed will appear) at the various viewport sizes. Ideally this could be done automatically when the tool is used in the context of a site (e.g. as a WordPress plugin).

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