37 lines
637 B
CSS
37 lines
637 B
CSS
.modalOverlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.modalContent {
|
|
width: 90%;
|
|
/* height: 80%; */
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
position: relative;
|
|
overflow: visible; /* Add this line to enable scrolling */
|
|
}
|
|
|
|
.closeButton {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
background: none;
|
|
border: none;
|
|
font-size: 24px;
|
|
cursor: pointer;
|
|
color: #333;
|
|
padding: 0;
|
|
}
|
|
|
|
.closeButton:hover {
|
|
color: #f44336; /* Change color on hover for better UX */
|
|
}
|