mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 17:48:25 +01:00
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:
@@ -557,7 +557,7 @@ function Floors() {
|
|||||||
|
|
||||||
function FreeZone() {
|
function FreeZone() {
|
||||||
console.log("Open box to enter a free product");
|
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() {
|
function TakeposOrderNotes() {
|
||||||
|
|||||||
Reference in New Issue
Block a user