diff --git a/fleet_management/fleet_management/doctype/trip/trip_list.js b/fleet_management/fleet_management/doctype/trip/trip_list.js index b458ebd..f38f6e5 100644 --- a/fleet_management/fleet_management/doctype/trip/trip_list.js +++ b/fleet_management/fleet_management/doctype/trip/trip_list.js @@ -20,13 +20,15 @@ function create_dialog_and_init_map(frm) { size: 'extra-large' }); + /* // Adjust the size of the dialog dynamically to 80% of the browser window const modalDialog = dialog.$wrapper.find('.modal-content'); modalDialog.css({ - "width": "85vw", + "width": "85vw", "max-width": "85vw", - "margin-left": "-25vh" + "margin-left": "-25vh" }); + */ // Add hide event to reload the page when the dialog is closed dialog.onhide = function () {