fix reglage css

This commit is contained in:
ORDONNEAU Antoine
2026-03-17 11:44:18 +01:00
parent 2c37ee9a15
commit bed21f834e
5 changed files with 24 additions and 25 deletions
-5
View File
@@ -14,19 +14,14 @@
}
.modal {
padding: 20px 20px 20px 20px;
border-radius: 20px;
min-width: 300px;
max-width: 70%;
max-height: none;
position: relative;
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
width: clamp(300px, 50vw, 600px);
border: 1px solid rgba(200, 200, 200, 0.3);
background: rgba(255, 255, 255, 0.5);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
color: #000;
outline: none;
}
+1 -1
View File
@@ -23,7 +23,7 @@ const Modal = ({ open, onClose, children, title }: ModalProps) => {
return createPortal(
<div className={styles.overlay} onClick={handleOverlayClick}>
<div className={styles.modal} onClick={handleModalClick}>
<div className={`glassCard ${styles.modal}`} onClick={handleModalClick}>
{title && <h2>{title}</h2>}
{children}
<div className={styles.modalFooter}>