Fix modal width mismatch with content
- Remove padding from Modal's .content wrapper (let children control) - Remove conflicting width/max-width from SchoolSearchModal - Modal size classes now properly control the width Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -92,7 +92,6 @@
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: 1.5rem;
|
||||
overflow-y: auto;
|
||||
flex: 1;
|
||||
}
|
||||
@@ -139,8 +138,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
.header,
|
||||
.content {
|
||||
.header {
|
||||
padding: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
.modalContent {
|
||||
padding: 2rem;
|
||||
max-width: 600px;
|
||||
width: 90vw;
|
||||
padding: 1.5rem;
|
||||
}
|
||||
|
||||
.title {
|
||||
@@ -182,8 +180,7 @@
|
||||
/* Responsive */
|
||||
@media (max-width: 768px) {
|
||||
.modalContent {
|
||||
padding: 1.5rem;
|
||||
width: 95vw;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.title {
|
||||
|
||||
Reference in New Issue
Block a user