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

Add new future resize editor & Preview Panes by dragging.(#1977) #2062

Merged
merged 5 commits into from
Jun 12, 2018

Conversation

zhouxiaoxiaoxujian
Copy link
Contributor

You can now dragging the border between Editor & Preview to left/right

@kazup01 kazup01 added the awaiting review ❇️ Pull request is awaiting a review. label Jun 11, 2018
Copy link
Member

@sosukesuzuki sosukesuzuki left a comment

Choose a reason for hiding this comment

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

@zhouxiaoxiaoxujian
Please confirm my reviews!

@@ -499,6 +499,7 @@ export default class CodeEditor extends React.Component {
fontFamily = _.isString(fontFamily) && fontFamily.length > 0
? [fontFamily].concat(defaultEditorFontFamily)
: defaultEditorFontFamily
let width = this.props.width
Copy link
Member

Choose a reason for hiding this comment

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

please use const instead of let.

left -3px
z-index 10
cursor col-resize

Copy link
Member

Choose a reason for hiding this comment

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

please remove unnecessary lines!

@zhouxiaoxiaoxujian
Copy link
Contributor Author

Fixed review suggestions. Please check

cursor col-resize


cursor col-resize
Copy link
Member

Choose a reason for hiding this comment

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

@zhouxiaoxiaoxujian
please add new line at end of the file!

@sosukesuzuki sosukesuzuki merged commit eefecde into BoostIO:master Jun 12, 2018
@sosukesuzuki sosukesuzuki added next release (v0.11.6) and removed awaiting review ❇️ Pull request is awaiting a review. labels Jun 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants