Commit b4c77eb6 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

More room for scrollbar when blockeditormaxwidth is on


Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
parent 688a5063
......@@ -382,7 +382,7 @@ function ViewManager() {
var h = Math.max(d.h, 200);
if (config.blockeditormaxwidth && getFirstElementByTagAndClassName('textarea', 'wysiwyg', newblock)) {
var w = vpdim.w - (h > vpdim.h ? 80 : 50);
var w = vpdim.w - 80;
}
else {
var w = Math.max(d.w, 500);
......
Markdown is supported
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