1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-08-06 14:05:21 +02:00

fix: shopping list button in one row (#5547)

This commit is contained in:
Kuchenpirat 2025-06-20 11:59:13 +02:00 committed by GitHub
parent 2673834a9f
commit 3a4222c6c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -41,9 +41,6 @@
<v-container> <v-container>
<v-row> <v-row>
<v-col <v-col
cols="12"
sm="4"
md="3"
class="text-left" class="text-left"
> >
<ButtonLink <ButtonLink
@ -53,9 +50,8 @@
/> />
</v-col> </v-col>
<v-col <v-col
cols="12" v-if="mdAndUp"
sm="4" cols="6"
md="6"
class="d-none d-sm-flex justify-center" class="d-none d-sm-flex justify-center"
> >
<v-img <v-img
@ -438,6 +434,7 @@ export default defineNuxtComponent({
}, },
// middleware: "sidebase-auth", // middleware: "sidebase-auth",
setup() { setup() {
const { mdAndUp } = useDisplay();
const i18n = useI18n(); const i18n = useI18n();
const $auth = useMealieAuth(); const $auth = useMealieAuth();
const preferences = useShoppingListPreferences(); const preferences = useShoppingListPreferences();
@ -1255,6 +1252,7 @@ export default defineNuxtComponent({
allFoods, allFoods,
getTextColor, getTextColor,
isOffline, isOffline,
mdAndUp,
}; };
}, },
}); });