From 604247f6c036135d2345e036cd111b74f8ca90d6 Mon Sep 17 00:00:00 2001 From: Jonathan Weth <git@jonathanweth.de> Date: Fri, 19 Apr 2024 18:49:50 +0200 Subject: [PATCH] Fix mobile view for validity range select in timetables --- .../frontend/components/timetables/Timetable.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/aleksis/apps/lesrooster/frontend/components/timetables/Timetable.vue b/aleksis/apps/lesrooster/frontend/components/timetables/Timetable.vue index 6694e29f..5e1ad4fd 100644 --- a/aleksis/apps/lesrooster/frontend/components/timetables/Timetable.vue +++ b/aleksis/apps/lesrooster/frontend/components/timetables/Timetable.vue @@ -67,8 +67,11 @@ export default { <template> <timetable-wrapper :on-selected="onSelected"> - <template #additionalSelect="{ selected }"> - <v-card class="mb-2"> + <template #additionalSelect="{ selected, mobile }"> + <v-card + :class="{ 'mb-2': !mobile, 'mx-2 mt-2': mobile }" + :outlined="mobile" + > <v-card-text> <time-grid-field outlined -- GitLab