Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove iframe body margin #222

Closed
wants to merge 1 commit into from
Closed

Remove iframe body margin #222

wants to merge 1 commit into from

Conversation

thani-sh
Copy link
Contributor

@thani-sh thani-sh commented Jun 1, 2016

Remove the margin added by the browser by default. Necessary padding can be easily added with decorators when needed but it's difficult to remove.

storiesOf('MyComponent', module)
  .addDecorator(f => <div style={{margin: '8px'}}>f()</div>)

Remove the margin added by the browser by default. Necessary padding can be easily added with decorators when needed but it's difficult to remove.

```
storiesOf('MyComponent', module)
  .addDecorator(f => <div style={{margin: '8px'}}>f()</div>)
```
@arunoda
Copy link
Member

arunoda commented Jun 13, 2016

Okay. This is fair enough.
If needed, someone could add a custom head with this settings.

@arunoda
Copy link
Member

arunoda commented Aug 15, 2016

Closing this since, we are not trying to change things in the iframe.

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.

3 participants