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

Allow font-size adjustments #23

Open
mirisuzanne opened this issue Oct 11, 2020 · 0 comments
Open

Allow font-size adjustments #23

mirisuzanne opened this issue Oct 11, 2020 · 0 comments

Comments

@mirisuzanne
Copy link

This is such a great tool, thank you!

I'd like to use it for embedding data inside HTML slides when I present at conferences. But the set font-size is very small for a slide format:

html {
  font-size: 62.5%;
}

Since there's no way to style an iframe contents based on context, this feature would need to be built-in explicitly. I propose exposing a data-base-size attribute on the .ciu_embed paragraph, and applying the value to html as an override of the default font-size.

<html dir="ltr" lang="en" style="font-size: {provided-base-size}">
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