Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

Fix issue with end tag style #13

Merged
merged 1 commit into from
Jun 22, 2016
Merged

Fix issue with end tag style #13

merged 1 commit into from
Jun 22, 2016

Conversation

kesne
Copy link
Contributor

@kesne kesne commented Jun 21, 2016

In the "view source" section, I noticed that the end tag was always indented one level too much, and was being aligned with the children. This is because the containerStyle was being mutated by the child <Node> components while rendering. This PR copies the containerStyle into a new object when we're about to render <Node> components to prevent the child components from changing the styles from under our feet.

@roonyh roonyh merged commit b0a9bb2 into storybook-eol:master Jun 22, 2016
@roonyh
Copy link
Contributor

roonyh commented Jun 22, 2016

Thanks! Good catch! Will publish a new release with this.

roonyh added a commit that referenced this pull request Jun 22, 2016
@kesne kesne deleted the patch-1 branch June 22, 2016 18:55
kesne pushed a commit to kesne/react-storybook-addon-info that referenced this pull request Jun 28, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants