From afbee4111e6616823b583097f7ea66a414a1862c Mon Sep 17 00:00:00 2001 From: andreubisquerra Date: Tue, 28 Nov 2023 09:17:17 +0100 Subject: [PATCH] FIX free product box size (#26874) Resize the 'free product' box and hide scroll bar. And use percentage instead of fixed size to improve on mobile. --- htdocs/takepos/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/takepos/index.php b/htdocs/takepos/index.php index a15425e8082..eee94d676de 100644 --- a/htdocs/takepos/index.php +++ b/htdocs/takepos/index.php @@ -557,7 +557,7 @@ function Floors() { function FreeZone() { console.log("Open box to enter a free product"); - $.colorbox({href:"freezone.php?action=freezone&token=&place="+place, width:"80%", height:"200px", transition:"none", iframe:"true", title:"trans("FreeZone"); ?>"}); + $.colorbox({href:"freezone.php?action=freezone&token=&place="+place, width:"80%", height:"40%", transition:"none", iframe:"true", title:"trans("FreeZone"); ?>"}); } function TakeposOrderNotes() {