Skip to content
Snippets Groups Projects
Commit 62e224d9 authored by chris's avatar chris Committed by john
Browse files

make main scroll pane adjustable

parent b96abe08
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,8 @@ class Notes extends Component {
const height = (this.el.el.offsetHeight + this.el.el.offsetTop - e.clientY)
const scrollPane = document.getElementById('mini-editor-content-panel').children
scrollPane[0].style.minHeight = height - 40 + 'px'
const mainScrollPane = document.getElementById('content-panel').children
mainScrollPane[0].style.maxHeight = this.el.el.offsetTop - 140 + 'px'
this.el.el.style.height = height + 'px'
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment