Skip to content

fix Spotify <iframe> embed overflows on notion two-column layout#709

Open
offab wants to merge 2 commits into
NotionX:masterfrom
offab:fix-embed
Open

fix Spotify <iframe> embed overflows on notion two-column layout#709
offab wants to merge 2 commits into
NotionX:masterfrom
offab:fix-embed

Conversation

@offab

@offab offab commented Jul 12, 2026

Copy link
Copy Markdown

Description
Currently, embed containers (such as Spotify <iframe> embeds) suffer from overflow issues because their width is hardcoded to 600px. This causes the embed to break out of its parent container when placed in constrained spaces, such as within a narrow two-column layout.

Solution
Updated the CSS for .notion-asset-wrapper-embed > div to use fluid width constraints, the embed wrapper now scales dynamically and properly respects the boundaries of its parent container.

Update iframe background to transparent to prevent white corners on rounded edges in dark mode

Before
Screenshot 2026-07-12 at 12 45 11

Screenshot 2026-07-12 at 12 46 10

After
Screenshot 2026-07-12 at 13 16 15

@vercel

vercel Bot commented Jul 12, 2026

Copy link
Copy Markdown

@offab is attempting to deploy a commit to the Saasify Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant