fix layout mobile

This commit is contained in:
cw
2026-06-04 20:40:37 +07:00
parent 141eeeb629
commit dfc84bcbe9
3 changed files with 94 additions and 74 deletions
+18 -2
View File
@@ -201,6 +201,22 @@ body.acaab-modal-open {
/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
.acaab-fade-in, .acaab-skeleton, .acaab-card-img,
.acaab-ach-card, .acaab-proj-card-wrap { animation: none !important; transition: none !important; }
}
/* --- Modal Responsiveness Overrides --- */
.acaab-modal-achievement {
max-width: 500px !important;
}
.acaab-modal-project {
max-width: 700px !important;
}
@media (max-width: 639px) {
.acaab-modal-achievement, .acaab-modal-project {
max-width: 100% !important;
margin: 0 !important;
border-radius: 1rem 1rem 0 0 !important;
}
}