-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Conversation
There was a problem hiding this 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!
browser/components/CodeEditor.js
Outdated
@@ -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 |
There was a problem hiding this comment.
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 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove unnecessary lines!
Fixed review suggestions. Please check |
cursor col-resize | ||
|
||
|
||
cursor col-resize |
There was a problem hiding this comment.
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!
You can now dragging the border between Editor & Preview to left/right