Add fullscreen mode for modal - Fix css issue

This commit is contained in:
Anthony Janin 2025-06-04 14:37:13 +02:00 committed by NicolasCantu
parent 0e44a01218
commit df726d929a

View File

@ -177,7 +177,7 @@ export default class ModalService {
modalElement.id = 'confirmation-modal';
modalElement.innerHTML = `
<div class="modal-overlay">
<div class="modal-content" ${fullscreen ? 'style="width: width: 100% !important; max-width: none !important; height: 100% !important; max-height: none !important; border-radius: 0 !important;"' : ''}>
<div class="modal-content" ${fullscreen ? 'style="width: 100% !important; max-width: none !important; height: 100% !important; max-height: none !important; border-radius: 0 !important; margin: 0 !important;"' : ''}>
<h2>${options.title}</h2>
<div class="modal-body">
${options.content}