Skip to content

Commit

Permalink
[Storybook] Remove header of addon-info temporary
Browse files Browse the repository at this point in the history
Since the inline styling is damn strange now, header and preview parts are split into separate shadowed containers.

Issue: storybookjs/storybook#1877
  • Loading branch information
cjies committed Oct 13, 2017
1 parent 6438bb7 commit 475bc42
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/storybook/.storybook/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,26 @@ setDefaults({
inline: true,
propTables: false,

/**
* Remove the header temporary.
*
* Since the inline styling is damn strange now,
* header and preview parts are split into separate shadowed containers.
*
* @issue https://github.com/storybooks/storybook/issues/1877
*
* #FIXME: wait for storybooks/storybook#1501
*/
header: false,

/**
* Fix <Code> styling
*
* #FIXME: wait for storybooks/storybook#1501
*/
marksyConf: { code: Code }
});

setAddon(infoAddon);
setAddon(propsTableAddon);

Expand Down

0 comments on commit 475bc42

Please sign in to comment.