From 6151155a0f0454d2fc98323c714e3de16ac75c5a Mon Sep 17 00:00:00 2001 From: eight Date: Wed, 6 Dec 2017 03:48:48 +0800 Subject: [PATCH] fixup! Fix: need margin to hide colorpicker --- msgbox/msgbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msgbox/msgbox.js b/msgbox/msgbox.js index dbb4f361..839da3d1 100644 --- a/msgbox/msgbox.js +++ b/msgbox/msgbox.js @@ -22,7 +22,7 @@ function messageBox({ messageBox.element.classList.remove('calculate-size'); // for colorpicker - const MIN_WIDTH = 310; + const MIN_WIDTH = 350; const MIN_HEIGHT = 250; const width = Math.max(Math.min(offsetWidth / 0.9 + 2, 800), MIN_WIDTH);