fixed rendering issue with single step recipes

This commit is contained in:
vabene1111
2022-01-28 15:26:11 +01:00
parent 20b4c4fb36
commit 58f1ce0331

View File

@ -32,9 +32,8 @@
<div class="row">
<!-- ingredients table -->
<div class="col col-md-4">
<table class="table table-sm"
v-if="step.ingredients.length > 0 && (recipe.steps.length > 1 || force_ingredients)">
<div class="col col-md-4" v-if="step.ingredients.length > 0 && (recipe.steps.length > 1 || force_ingredients)">
<table class="table table-sm" >
<ingredients-card :steps="[step]" :ingredient_factor="ingredient_factor"
@checked-state-changed="$emit('checked-state-changed', $event)"/>
</table>