Skip to content

Commit f4429b6

Browse files
committed
Fix mobile view
1 parent bd6d094 commit f4429b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/calendar/index.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,11 +278,11 @@ import PageSite from "@layouts/PageSite.astro";
278278
transform: translateY(0);
279279
}
280280

281-
/* Mobile responsiveness */
282281
@media (max-width: 768px) {
283282
.modal-content {
284283
width: 95%;
285-
margin: 5% auto;
284+
margin: 50% auto;
285+
transform: translateY(-50%);
286286
}
287287

288288
.modal-header h2 {

0 commit comments

Comments
 (0)