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

fix(docx): get component iframes rendering correctly #2305

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

Conversation

chris-at-jobber
Copy link
Contributor

@chris-at-jobber chris-at-jobber commented Jan 10, 2025

Motivations

Initially, I set the height of the iframes to have a min-height simply to avoid the internal scrolling area that was occuring, not intending to fix the components themselves not being visible, however this also seems to have fixed the components not being visible as well. 🎉 ?

Changes

Changed

  • add min-height to the iframes themselves
    • without the min-height, they seemed to just be collapsing in on themselves

Fixed

  • Components now render in Safari
    image

Testing

Run locally in Safari/Chrome/FF


In Atlantis we use Github's built in pull request reviews.

Random photo of Atlantis

Copy link

Deploying atlantis with  Cloudflare Pages  Cloudflare Pages

Latest commit: b41ba4a
Status: ✅  Deploy successful!
Preview URL: https://3130736c.atlantis.pages.dev
Branch Preview URL: https://get-iframes-rendering-correc.atlantis.pages.dev

View logs

@chris-at-jobber chris-at-jobber marked this pull request as ready for review January 10, 2025 23:51
@chris-at-jobber chris-at-jobber requested a review from a team as a code owner January 10, 2025 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant