commit 3b876cb0902ecd87dc75cc59facfc5c95cc8536d
parent f54a862c930b109ea555ed293d3302d98a550a2d
Author: Henry Unite <unitehenry@gmail.com>
Date: Fri, 11 Sep 2020 16:26:22 -0400
Merge branch 'dev' of https://github.com/striven-erp/striven-editor into dev
Diffstat:
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/package.json b/package.json
@@ -1,7 +1,7 @@
{
"name": "@striven-erp/striven-editor",
"private": false,
- "version": "3.7.2",
+ "version": "3.7.3",
"description": "The editor used for the Striven ERP system.",
"main": "./dist",
"scripts": {
diff --git a/src/striveneditor.js b/src/striveneditor.js
@@ -2892,8 +2892,10 @@ export default class StrivenEditor {
opt.append(createSVG(EXPANDICON));
se.overflow();
- se.editor.style.maxHeight = null;
+ se.editor.style.maxHeight = null;
+ document.body.style.overflow = null;
+
se.body.style.height = se.editor.getAttribute('height');
se.body.style.minHeight = se.editor.getAttribute('min-height');
se.body.style.maxHeight = se.editor.getAttribute('max-height');
@@ -2910,7 +2912,7 @@ export default class StrivenEditor {
opt.innerHTML = '';
opt.append(createSVG(COLLAPSEICON));
- document.body.style.overflow = null;
+ document.body.style.overflow = 'hidden';
se.body.style.height = '100%';
se.body.style.minHeight = null;