From 50163ca601408207a251d4bb8fdbe0bd3904507a Mon Sep 17 00:00:00 2001 From: Julian Leucker <leuckerj@gmail.com> Date: Tue, 19 Nov 2024 22:50:43 +0100 Subject: [PATCH] Fix mascot sizes --- .../apps/chronos/frontend/components/NoTimetableCard.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/aleksis/apps/chronos/frontend/components/NoTimetableCard.vue b/aleksis/apps/chronos/frontend/components/NoTimetableCard.vue index f11b2ed2..e750d01e 100644 --- a/aleksis/apps/chronos/frontend/components/NoTimetableCard.vue +++ b/aleksis/apps/chronos/frontend/components/NoTimetableCard.vue @@ -25,7 +25,13 @@ export default { v-bind="$attrs" > <div class="text-center"> - <mascot type="timetable" size="60" class="mb-4" /> + <mascot + type="timetable" + class="mb-4" + max-width="min(80vw, 600px)" + max-height="min(50vh, 500px)" + contain + /> <div class="text-h5 grey--text text--darken-2 mb-2"> {{ $t(titleKey) }} </div> -- GitLab