Skip to content

Conversation

@alex-page
Copy link
Member

@alex-page alex-page commented Nov 9, 2020

WHY are these changes introduced?

When trying to work on #3438, the details page has a 10px padding added by storybook. This adds an unnecessary speed bump to replicating production pages.

WHAT is this pull request doing?

Removing the stupid added 10px from storybook.

@alex-page alex-page self-assigned this Nov 9, 2020
@alex-page alex-page requested a review from BPScott November 9, 2020 14:27
@github-actions
Copy link
Contributor

github-actions bot commented Nov 9, 2020

🟢 No significant changes to src/**/*.tsx were detected.

@BPScott
Copy link
Member

BPScott commented Nov 9, 2020

Would a better fix be updating the "toggle fullscreen" logic at

const hasFullscreenLayout = ['App provider', 'Frame', 'Navigation'].includes(
readme.name,
);

@amrocha
Copy link
Contributor

amrocha commented Nov 9, 2020

@BPScott Ben get out of here you're on vacation we got this

@alex-page
Copy link
Member Author

alex-page commented Nov 10, 2020

@BPScott @amrocha I have cleaned this up to only affect Playground pages. I can't add it to hasFullscreenLayout as it is not a page loaded through our readme page generator.

Copy link
Contributor

@kaelig kaelig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes total sense! :shipit:

Removing the stupid added 10px from storybook.

🤔👎

@alex-page alex-page merged commit 4ecf63c into master Nov 10, 2020
@alex-page alex-page deleted the remove-stupid-10px branch November 10, 2020 01:08
sylvhama pushed a commit that referenced this pull request Mar 26, 2021
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.

4 participants