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

Update DrawioEditor.php #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Jackbennett
Copy link

Work around fixes #22 by letting browsers size this image, not using the zero'd out value of width once the diagram fails to fetch.

If you want to resize down the embedded image I imagine users would specify the width=xxx option in the template. You could always set max-width: fit-content and remove all the opt_max_width handling entirely.

Work around fixes mgeb#22 by letting browsers size this image, not using the zero'd out value of width once the diagram fails to fetch.
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

Successfully merging this pull request may close these issues.

Large images won't render
1 participant