From f784b204e3282b7a51e6f079f21b12966b9fdcd5 Mon Sep 17 00:00:00 2001 From: Michael Bauer <michael-bauer@posteo.de> Date: Tue, 30 Jan 2024 18:15:46 +0100 Subject: [PATCH] Remove outer card --- .../frontend/components/Coursebook.vue | 38 +++++++++---------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/aleksis/apps/alsijil/frontend/components/Coursebook.vue b/aleksis/apps/alsijil/frontend/components/Coursebook.vue index 3ca0512bf..5e0f14cab 100644 --- a/aleksis/apps/alsijil/frontend/components/Coursebook.vue +++ b/aleksis/apps/alsijil/frontend/components/Coursebook.vue @@ -7,26 +7,24 @@ :enable-edit="false" > <template #default="{ items }"> - <v-card class="my-6 mx-3"> - <v-list-item - v-for="day in groupDocsByDay(items)" - two-line - > - <v-list-item-content> - <v-list-item-title>{{ $d(day[0], "short") }}</v-list-item-title> - <v-list> - <!-- I know slice copies the array. But show me something better. --> - <v-list-item v-for="doc in day.slice(1)"> - <v-card class="my-2"> - <documentation - :documentation="doc" - /> - </v-card> - </v-list-item> - </v-list> - </v-list-item-content> - </v-list-item> - </v-card> + <v-list-item + v-for="day in groupDocsByDay(items)" + two-line + > + <v-list-item-content> + <v-list-item-title>{{ $d(day[0], "short") }}</v-list-item-title> + <v-list> + <!-- I know slice copies the array. But show me something better. --> + <v-list-item v-for="doc in day.slice(1)"> + <v-card class="my-2"> + <documentation + :documentation="doc" + /> + </v-card> + </v-list-item> + </v-list> + </v-list-item-content> + </v-list-item> </template> </c-r-u-d-iterator> </template> -- GitLab