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.
This commit is contained in:
andreubisquerra
2023-11-28 09:17:17 +01:00
committed by GitHub
parent a462edcea5
commit afbee4111e

View File

@@ -557,7 +557,7 @@ function Floors() {
function FreeZone() {
console.log("Open box to enter a free product");
$.colorbox({href:"freezone.php?action=freezone&token=<?php echo newToken(); ?>&place="+place, width:"80%", height:"200px", transition:"none", iframe:"true", title:"<?php echo $langs->trans("FreeZone"); ?>"});
$.colorbox({href:"freezone.php?action=freezone&token=<?php echo newToken(); ?>&place="+place, width:"80%", height:"40%", transition:"none", iframe:"true", title:"<?php echo $langs->trans("FreeZone"); ?>"});
}
function TakeposOrderNotes() {