fixup! Fix: need margin to hide colorpicker
This commit is contained in:
parent
d9c2d30aab
commit
6151155a0f
|
@ -22,7 +22,7 @@ function messageBox({
|
||||||
messageBox.element.classList.remove('calculate-size');
|
messageBox.element.classList.remove('calculate-size');
|
||||||
|
|
||||||
// for colorpicker
|
// for colorpicker
|
||||||
const MIN_WIDTH = 310;
|
const MIN_WIDTH = 350;
|
||||||
const MIN_HEIGHT = 250;
|
const MIN_HEIGHT = 250;
|
||||||
|
|
||||||
const width = Math.max(Math.min(offsetWidth / 0.9 + 2, 800), MIN_WIDTH);
|
const width = Math.max(Math.min(offsetWidth / 0.9 + 2, 800), MIN_WIDTH);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user