xxxxxxxxxx
if React then:
import Modal from "react-bootstrap/Modal"
<Modal show={show} onHide={handleOpen} fullscreen={true}> //change the size
xxxxxxxxxx
view source
01
.modal.modal-fullscreen .modal-dialog {
02
width:100vw;
03
height:100vh;
04
margin:0;
05
padding:0;
06
max-width:none;
07
}
08
09
.modal.modal-fullscreen .modal-content {
10
height:auto;
11
height:100vh;
12
border-radius:0;
13
border:none;
14
}
15
16
.modal.modal-fullscreen .modal-body {
17
overflow-y:auto;
18
}