This commit is contained in:
zadit frontend
2024-08-01 12:20:33 +00:00
parent a158e44071
commit c4654ce64f
14 changed files with 936 additions and 20 deletions

View File

@@ -1,5 +1,3 @@
/* src/components/Modal.module.css */
.modalOverlay {
position: fixed;
top: 0;
@@ -21,9 +19,9 @@
height: 80%;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
position: relative;
overflow: auto; /* Add this line to enable scrolling */
}
/* Style the close button as an "X" */
.closeButton {
position: absolute;
top: 10px;
@@ -36,7 +34,6 @@
padding: 0;
}
/* Optional: Add a hover effect */
.closeButton:hover {
color: #f44336; /* Change color on hover for better UX */
}