fix: recipe timeline visuals (nuxt 3) (#5608)

This commit is contained in:
Kuchenpirat 2025-06-30 17:25:32 +02:00 committed by GitHub
parent 6540bfacfe
commit 62c7e2d2fb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -69,7 +69,8 @@
:style="maxHeight ? `max-height: ${maxHeight}; overflow-y: auto;` : ''"
>
<v-timeline
:dense="$vuetify.display.smAndDown"
:density="$vuetify.display.smAndDown ? ($vuetify.display.xs ? 'compact' : 'comfortable') : undefined"
justify="center"
class="timeline"
>
<RecipeTimelineItem
@ -78,6 +79,7 @@
:event="event"
:recipe="recipes.get(event.recipeId)"
:show-recipe-cards="showRecipeCards"
:width="$vuetify.display.smAndDown ? '100%' : undefined"
@update="updateTimelineEvent(index)"
@delete="deleteTimelineEvent(index)"
/>