Shave of 2px to allow for borders without overflow
This commit is contained in:
parent
80294408d3
commit
96611339ce
|
@ -433,8 +433,8 @@ function configDialog(style) {
|
||||||
const MIN_HEIGHT = 250 + PADDING;
|
const MIN_HEIGHT = 250 + PADDING;
|
||||||
colorpicker.remove();
|
colorpicker.remove();
|
||||||
|
|
||||||
width = constrain(MIN_WIDTH, 800, width + PADDING);
|
width = constrain(MIN_WIDTH, 798, width + PADDING);
|
||||||
height = constrain(MIN_HEIGHT, 600, height + PADDING);
|
height = constrain(MIN_HEIGHT, 598, height + PADDING);
|
||||||
document.body.style.setProperty('min-width', width + 'px', 'important');
|
document.body.style.setProperty('min-width', width + 'px', 'important');
|
||||||
document.body.style.setProperty('min-height', height + 'px', 'important');
|
document.body.style.setProperty('min-height', height + 'px', 'important');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user