Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Conversation

@shriah
Copy link
Contributor

@shriah shriah commented Apr 22, 2017

Fixed #615

The fix is to create a wrapper element around the right pane without any padding or margin so we can set the width or height we calculate directly to it. http://recordit.co/TU3CHcHNbN

I also changed the min width of the right pan to 150px because at 100px it was getting too squashed to the right.

@facebook-github-bot
Copy link

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at [email protected]. Thanks!

If you are contributing on behalf of someone else (eg your employer): the individual CLA is not sufficient - use https://developers.facebook.com/opensource/cla?type=company instead. Contact [email protected] if you have any questions.

@shriah shriah changed the title Refactor split pane bugfix to avoid magic numbers #615 Refactor split pane bugfix to avoid magic numbers Apr 22, 2017
@facebook-github-bot
Copy link

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@facebook-github-bot
Copy link

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

<div style={rightStyle}>
{this.props.right()}
<div style={rightStyles}>
<Draggable
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: please use two space indentation

@gaearon gaearon merged commit adddda4 into facebook:master Apr 25, 2017
@gaearon
Copy link
Contributor

gaearon commented Apr 25, 2017

This looks great, thanks. I won’t pretend to understand it, as CSS is not my strong side. But it does look cleaner. 😃

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor split pane bugfix to avoid magic numbers

3 participants