From 96611339ce69d6438a4f9022a32f236c8aa37672 Mon Sep 17 00:00:00 2001 From: narcolepticinsomniac Date: Sun, 26 May 2019 06:33:28 -0400 Subject: [PATCH] Shave of 2px to allow for borders without overflow --- manage/config-dialog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manage/config-dialog.js b/manage/config-dialog.js index de50b7b7..e4126422 100644 --- a/manage/config-dialog.js +++ b/manage/config-dialog.js @@ -433,8 +433,8 @@ function configDialog(style) { const MIN_HEIGHT = 250 + PADDING; colorpicker.remove(); - width = constrain(MIN_WIDTH, 800, width + PADDING); - height = constrain(MIN_HEIGHT, 600, height + PADDING); + width = constrain(MIN_WIDTH, 798, width + PADDING); + height = constrain(MIN_HEIGHT, 598, height + PADDING); document.body.style.setProperty('min-width', width + 'px', 'important'); document.body.style.setProperty('min-height', height + 'px', 'important'); }