mirror of
https://github.com/itsdave-de/fusionpbx_connect.git
synced 2025-05-07 16:15:26 +02:00
reajust css
This commit is contained in:
parent
d044d0a28a
commit
e206833d85
@ -24,6 +24,7 @@ function create_dialog_and_init_map(frm) {
|
|||||||
modalContent.css("width", "80vw");
|
modalContent.css("width", "80vw");
|
||||||
modalContent.css("height", "80vh");
|
modalContent.css("height", "80vh");
|
||||||
modalContent.css("max-width", "none"); // Ensure no max-width restrictions
|
modalContent.css("max-width", "none"); // Ensure no max-width restrictions
|
||||||
|
modalContent.css("margin", "auto"); // Center the modal
|
||||||
|
|
||||||
// Add hide event to reload the page when the dialog is closed
|
// Add hide event to reload the page when the dialog is closed
|
||||||
dialog.onhide = function () {
|
dialog.onhide = function () {
|
||||||
@ -46,7 +47,7 @@ function create_dialog_and_init_map(frm) {
|
|||||||
var currentMap = null;
|
var currentMap = null;
|
||||||
|
|
||||||
function init_map(frm) {
|
function init_map(frm) {
|
||||||
console.table(window.L);
|
//console.table(window.L);
|
||||||
console.log("Initializing map with MyLeaflet...");
|
console.log("Initializing map with MyLeaflet...");
|
||||||
if (currentMap !== null) {
|
if (currentMap !== null) {
|
||||||
currentMap.remove(); // Remove the previous map if it exists
|
currentMap.remove(); // Remove the previous map if it exists
|
||||||
|
Loading…
x
Reference in New Issue
Block a user