mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 14:44:43 -04:00
Fixed mobile layout issues and improved editor layout styles
This commit is contained in:
parent
b5d9d28f2e
commit
40f9206190
3 changed files with 47 additions and 34 deletions
|
@ -116,6 +116,7 @@ var viewScrollingTimer = null;
|
|||
|
||||
//editor.on('scroll', _.throttle(syncScrollToView, editorScrollThrottle));
|
||||
editor.on('scroll', syncScrollToView);
|
||||
ui.area.codemirrorScroll.on('scroll', syncScrollToView);
|
||||
ui.area.view.on('scroll', function () {
|
||||
viewScrolling = true;
|
||||
clearTimeout(viewScrollingTimer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue