ext-apps/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonathan Hefner 1a6f237501
Fix iframe sizing to use actual content dimensions (#57)
The previous approach measured html/body elements which expand to fill
the viewport, causing the iframe to be larger than necessary.

Fix by using CSS fit-content to measure the true minimum content size:
- Temporarily set html to fit-content to shrink it to content
- This automatically includes body margins
- Cache last sent size to prevent feedback loops from style changes
- Simplify scrollbar compensation (already 0 when no scrollbar)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-12-01 23:04:09 +00:00
..
react Add API docs (#29) 2025-11-27 22:09:22 +00:00
app-bridge.test.ts Add App <-> AppBridge tests, setHostContext & sendToolInputPartial (#55) 2025-12-01 22:18:31 +00:00
app-bridge.ts Add App <-> AppBridge tests, setHostContext & sendToolInputPartial (#55) 2025-12-01 22:18:31 +00:00
app.ts Fix iframe sizing to use actual content dimensions (#57) 2025-12-01 23:04:09 +00:00
message-transport.ts Add API docs (#29) 2025-11-27 22:09:22 +00:00
types.ts fix: remove "system" from theme options (#40) 2025-12-01 20:31:08 +00:00