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

AddDecorator breaks AddWithInfo #429

Closed
tomitrescak opened this issue Sep 5, 2016 · 5 comments
Closed

AddDecorator breaks AddWithInfo #429

tomitrescak opened this issue Sep 5, 2016 · 5 comments

Comments

@tomitrescak
Copy link
Contributor

Info text is rendered in the decorator.

If I do this:

  .addDecorator((story: any) => (
    <Segment style={{ width: '300px', margin: '10px' }}>
      {story()}
    </Segment>
  ))

Info text is rendered in the very small window of 300px wide.

@arunoda
Copy link
Member

arunoda commented Sep 6, 2016

@mnmtanish @roonyh could you guys help us?

@arunoda
Copy link
Member

arunoda commented Sep 15, 2016

Ping @mnmtanish

@thani-sh
Copy link
Contributor

We can't fix this unless we fix this issue
#320 (comment)

@tomitrescak
Copy link
Contributor Author

Is it possible to render info in a separate iframe?
Rendering it around story seriously interferes with component structure.

I'm using semantic-ui and for example when component is list-item component and I render decorator that wraps the list item with list, adding info leads to broken view and the only way to deal with that is to include also list component in the story.

@ndelangen
Copy link
Member

#1147 Will happen soon! @tomitrescak

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants