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

embedq2 body overflow-y #319

Open
fyuniv opened this issue Feb 17, 2022 · 3 comments
Open

embedq2 body overflow-y #319

fyuniv opened this issue Feb 17, 2022 · 3 comments

Comments

@fyuniv
Copy link

fyuniv commented Feb 17, 2022

Is it possible to change the overflow-y for the body of an embedded question from hidden to auto?

Currently, some questions cannot be displayed fully without overflow-y. For example,
https://www.myopenmath.com/embedq2.php?id=358683&seed=2022&showansafter

Thank you!

@drlippman
Copy link
Owner

Scrolling would be annoying. Embedq2 is meant to be used in conjunction with a resizing script in the embedding page. See https://github.com/drlippman/IMathAS-Extras/blob/master/embedq/embedq.md

@drlippman
Copy link
Owner

You can see an example of how to implement the listener in https://github.com/drlippman/IMathAS-Extras/blob/master/embedq/practice.html

@fyuniv
Copy link
Author

fyuniv commented Feb 18, 2022

You can see an example of how to implement the listener in https://github.com/drlippman/IMathAS-Extras/blob/master/embedq/practice.html

Thank you for your prompt reply! I opened practice.html and tried to amend a question link with &height=500, and &height=500px. Nothing changes. I am not sure how to resize. Any suggestion?

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

2 participants