mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2025-12-24 02:39:20 -05:00
SLE border + no append to body for SL model input
This commit is contained in:
@@ -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 }">-->
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user