g
This commit is contained in:
@@ -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 */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user