Skip to content

Fix overflow for JupyterLite iframes when added by directives used inside PST admonitions#333

Open
agriyakhetarpal wants to merge 2 commits into
jupyterlite:mainfrom
agriyakhetarpal:iframe-admonitions-overflow
Open

Fix overflow for JupyterLite iframes when added by directives used inside PST admonitions#333
agriyakhetarpal wants to merge 2 commits into
jupyterlite:mainfrom
agriyakhetarpal:iframe-admonitions-overflow

Conversation

@agriyakhetarpal
Copy link
Copy Markdown
Member

@agriyakhetarpal agriyakhetarpal commented Feb 24, 2026

This PR fixes the visual bug I identified in point 1 of #290 (comment) about the JupyterLite REPL (and other apps') iframes overflowing if they are part of admonitions. This is a hack right now and may or may not work with other themes, but we've never marketed official support of the extension for themes beyond the PST anyway.

Since #290 is not merged yet, I applied these changes on top of it locally, and the following screenshots showcase the difference/fix (please ignore the non-working iframe in the "After" image, that's not related):

Before ( After
image image

also cc: @Carreau for visibility; as this involves the PST

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant