Fix modal width mismatch with content
All checks were successful
Build and Push Docker Images / Build Backend (FastAPI) (push) Successful in 34s
Build and Push Docker Images / Build Frontend (Next.js) (push) Successful in 1m15s
Build and Push Docker Images / Trigger Portainer Update (push) Successful in 1s

- 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:
Tudor
2026-02-03 13:03:47 +00:00
parent 51b081d9e0
commit d22275bfe0
2 changed files with 3 additions and 8 deletions

View File

@@ -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 {