SLE border + no append to body for SL model input

This commit is contained in:
vabene1111
2025-08-16 13:02:15 +02:00
parent e04c729476
commit e469ebf35e
3 changed files with 2 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
<template>
<v-list-item class="swipe-container" :id="itemContainerId" @touchend="handleSwipe()"
<v-list-item class="swipe-container border-t-sm" :id="itemContainerId" @touchend="handleSwipe()"
v-if="isShoppingListFoodVisible(props.shoppingListFood, useUserPreferenceStore().deviceSettings)"
>
<!-- <div class="swipe-action" :class="{'bg-success': !isChecked , 'bg-warning': isChecked }">-->

View File

@@ -23,7 +23,6 @@
valueProp="id"
label="name"
:delay="300"
append-to-body
:searchable="true"
:strict="false"
:classes="{
@@ -68,9 +67,7 @@ function addIngredient(amount: number, unit: Unit|null, food: Food|null) {
food: food,
} as ShoppingListEntry
console.log('adding SLR ? ', props.mealPlan)
if (props.mealPlan) {
console.log('yes')
sle.mealplanId = props.mealPlan.id
}
@@ -134,7 +131,6 @@ function search(query: string) {
</script>
<style src="@vueform/multiselect/themes/default.css"></style>
<!-- style can't be scoped (for whatever reason) -->
<style>

View File

@@ -78,7 +78,7 @@
<v-tabs-window-item value="shopping">
<closable-help-alert class="mb-2" :text="$t('MealPlanShoppingHelp')"></closable-help-alert>
<v-row v-if="isUpdate()" dense style="max-height: 75vh" class="overflow-y-scroll">
<v-row v-if="isUpdate()" dense style="max-height: 75vh; min-height: 30vh" class="overflow-y-scroll">
<v-col>
<shopping-list-entry-input :loading="useShoppingStore().currentlyUpdating" :meal-plan="editingObj"></shopping-list-entry-input>
<v-list v-if="editingObj.id">