Skip to content

Commit

Permalink
Merge pull request #2744 from storybooks/backgrounds-scrollbars
Browse files Browse the repository at this point in the history
Addon-backgrounds: remove redundant scrollbars
  • Loading branch information
Hypnosphi authored Jan 14, 2018
2 parents 3416311 + 71a9f83 commit 20af34a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion addons/background/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import addons from '@storybook/addons';

const style = {
wrapper: {
overflow: 'scroll',
overflow: 'auto',
position: 'fixed',
top: 0,
bottom: 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`Storyshots Addons|Backgrounds story 1 1`] = `
<div
style="overflow:scroll;position:fixed;top:0;bottom:0;right:0;left:0;transition:background 0.25s ease-in-out;background-position:center;background-size:cover;background:transparent"
style="overflow:auto;position:fixed;top:0;bottom:0;right:0;left:0;transition:background 0.25s ease-in-out;background-position:center;background-size:cover;background:transparent"
>
<button>
You should be able to switch backgrounds for this story
Expand All @@ -12,7 +12,7 @@ exports[`Storyshots Addons|Backgrounds story 1 1`] = `

exports[`Storyshots Addons|Backgrounds story 2 1`] = `
<div
style="overflow:scroll;position:fixed;top:0;bottom:0;right:0;left:0;transition:background 0.25s ease-in-out;background-position:center;background-size:cover;background:transparent"
style="overflow:auto;position:fixed;top:0;bottom:0;right:0;left:0;transition:background 0.25s ease-in-out;background-position:center;background-size:cover;background:transparent"
>
<button>
This one too!
Expand Down

0 comments on commit 20af34a

Please sign in to comment.