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

Removes default CSS margins on viewport #1

Open
wants to merge 849 commits into
base: next
Choose a base branch
from
Open

Conversation

quentind
Copy link
Owner

Related to issue storybookjs#7724 and PR#7640

What I did

This resets the default CSS margins on the body element. This prevents having vertical and horizontal scrollbars on the preview viewport as is the case in version 5.1.10, for instance.

This also fixes a regression on the latest version compared to the live examples running on 5.1.3, where there is no whitespace around the preview area.

This 8px whitespace -- the browsers' default margin on the body -- around the preview area is not desirable in my opinion, especially when the previewed component has a width of 100% or is simply a block element.

atanasster and others added 30 commits September 3, 2019 11:17
…lcom

CLI: Force welcome stories to show up first in load order
Addon-docs: Error handling for invalid Story id
ndelangen and others added 29 commits September 23, 2019 19:31
# Conflicts:
#	addons/contexts/package.json
…rybookjs#8061)

Addon-docs: CSS classes for escape-hatch theming wrapper/content
Add tests and src to npmignore

Co-authored-by: Dmitriy Kuznetsov <d.o.kuznetsov@tinkoff.ru>
Co-authored-by: Norbert de Langen <ndelangen@me.com>
…rybookjs#7738)

Strip comments of angular.json and tsconfig.json in @storybook/angular

Co-authored-by: Norbert de Langen <ndelangen@me.com>
Bumps [graphiql](https://github.com/graphql/graphiql) from 0.13.2 to 0.14.2.
- [Release notes](https://github.com/graphql/graphiql/releases)
- [Changelog](https://github.com/graphql/graphiql/blob/master/CHANGELOG.md)
- [Commits](https://github.com/graphql/graphiql/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bump graphiql from 0.13.2 to 0.14.2

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
Improve error logging

Co-authored-by: Norbert de Langen <ndelangen@me.com>
Bumps [pnp-webpack-plugin](https://github.com/arcanis/pnp-webpack-plugin) from 1.4.3 to 1.5.0.
- [Release notes](https://github.com/arcanis/pnp-webpack-plugin/releases)
- [Commits](https://github.com/arcanis/pnp-webpack-plugin/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bump pnp-webpack-plugin from 1.4.3 to 1.5.0

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet