Skip to content

chore: use default layout for embedded stories

Paul Gascou-Vaillancourt requested to merge default-layout-embedded-stories into main

What does this MR do?

This removes the logic that set fullscreen layout for embedded stories. This was meant to remove some padding from embedded docs pages in Pajamas but didn't actually have the expected effected. Instead of removing the padding from docs pages, it removed it from stories, which looked kinda weird and isn't needed. We might want to find a better way to properly size docs pages, but we can get rid of this logic for now.

Before After
Screen_Shot_2022-04-08_at_11.44.31_AM Screen_Shot_2022-04-08_at_11.44.08_AM

Merge request reports