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>)
```
@thani-sh thani-sh force-pushed the remove-iframe-margin branch from 8399a77 to 5aa1496 Compare June 6, 2016 10:36
@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.

Copy link

nx-cloud bot commented Nov 28, 2024

View your CI Pipeline Execution ↗ for commit 5aa1496.

Command Status Duration Result
nx run-many -t build --parallel=3 ✅ Succeeded 1m 47s View ↗

☁️ Nx Cloud last updated this comment at 2025-01-28 05:56:16 UTC

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