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 {
|
.content {
|
||||||
padding: 1.5rem;
|
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
@@ -139,8 +138,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.header,
|
.header {
|
||||||
.content {
|
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
.modalContent {
|
.modalContent {
|
||||||
padding: 2rem;
|
padding: 1.5rem;
|
||||||
max-width: 600px;
|
|
||||||
width: 90vw;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
@@ -182,8 +180,7 @@
|
|||||||
/* Responsive */
|
/* Responsive */
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
.modalContent {
|
.modalContent {
|
||||||
padding: 1.5rem;
|
padding: 1rem;
|
||||||
width: 95vw;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
|
|||||||
Reference in New Issue
Block a user