From f733ed736ea0d96f968a0d73e1742434e94239a2 Mon Sep 17 00:00:00 2001 From: Pihkaal Date: Sat, 3 Jan 2026 21:56:37 +0100 Subject: [PATCH] feat(gallery): improve responsivity --- app/assets/app.css | 4 +++ app/components/GalleryModal.vue | 61 +++++++++++++++++++++++++-------- app/pages/gallery.vue | 1 - 3 files changed, 51 insertions(+), 15 deletions(-) diff --git a/app/assets/app.css b/app/assets/app.css index 561d2a4..c6f55d2 100644 --- a/app/assets/app.css +++ b/app/assets/app.css @@ -35,3 +35,7 @@ body { background: #000000; } + +@theme { + --breakpoint-xs: 30rem; +} diff --git a/app/components/GalleryModal.vue b/app/components/GalleryModal.vue index db1d18f..25bd62e 100644 --- a/app/components/GalleryModal.vue +++ b/app/components/GalleryModal.vue @@ -37,11 +37,12 @@ const getPlaceholder = (image: InternalApi["/api/gallery"]["get"][number]) => {