mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-01-07 01:21:22 -05:00
fix: Revert extended touch on shopping list (#6794)
This commit is contained in:
@@ -7,23 +7,18 @@
|
|||||||
no-gutters
|
no-gutters
|
||||||
class="flex-nowrap align-center"
|
class="flex-nowrap align-center"
|
||||||
>
|
>
|
||||||
<v-card
|
<v-col :cols="itemLabelCols">
|
||||||
flat
|
<div class="d-flex align-center flex-nowrap">
|
||||||
link
|
|
||||||
class="grow"
|
|
||||||
@click="() => {
|
|
||||||
listItem.checked = !listItem.checked
|
|
||||||
$emit('checked', listItem)
|
|
||||||
}"
|
|
||||||
>
|
|
||||||
<div class="d-flex align-center flex-nowrap grow">
|
|
||||||
<v-checkbox
|
<v-checkbox
|
||||||
v-model="listItem.checked"
|
v-model="listItem.checked"
|
||||||
hide-details
|
hide-details
|
||||||
density="compact"
|
density="compact"
|
||||||
class="mt-0 flex-shrink-0"
|
class="mt-0 flex-shrink-0"
|
||||||
color="null"
|
color="null"
|
||||||
@change="$emit('checked', listItem)"
|
@click="() => {
|
||||||
|
listItem.checked = !listItem.checked
|
||||||
|
$emit('checked', listItem)
|
||||||
|
}"
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
class="ml-2 text-truncate"
|
class="ml-2 text-truncate"
|
||||||
@@ -33,7 +28,12 @@
|
|||||||
<RecipeIngredientListItem :ingredient="listItem" />
|
<RecipeIngredientListItem :ingredient="listItem" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</v-card>
|
</v-col>
|
||||||
|
<v-spacer />
|
||||||
|
<v-col
|
||||||
|
cols="auto"
|
||||||
|
class="text-right"
|
||||||
|
>
|
||||||
<div
|
<div
|
||||||
v-if="!listItem.checked"
|
v-if="!listItem.checked"
|
||||||
style="min-width: 72px"
|
style="min-width: 72px"
|
||||||
@@ -105,6 +105,7 @@
|
|||||||
</v-list>
|
</v-list>
|
||||||
</v-menu>
|
</v-menu>
|
||||||
</div>
|
</div>
|
||||||
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
<v-row
|
<v-row
|
||||||
v-if="!listItem.checked && recipeList && recipeList.length && displayRecipeRefs"
|
v-if="!listItem.checked && recipeList && recipeList.length && displayRecipeRefs"
|
||||||
@@ -313,8 +314,4 @@ export default defineNuxtComponent({
|
|||||||
.strike-through {
|
.strike-through {
|
||||||
text-decoration: line-through !important;
|
text-decoration: line-through !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.grow {
|
|
||||||
flex-grow: 1;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user