mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-04 21:58:54 -05:00
fixed instructions rendering next to ingredients on small devices
This commit is contained in:
@@ -32,15 +32,16 @@
|
|||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<!-- ingredients table -->
|
<!-- ingredients table -->
|
||||||
<div class="col col-md-4" v-if="step.ingredients.length > 0 && (recipe.steps.length > 1 || force_ingredients)">
|
<div class="col col-md-4"
|
||||||
<table class="table table-sm" >
|
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"
|
<ingredients-card :steps="[step]" :ingredient_factor="ingredient_factor"
|
||||||
@checked-state-changed="$emit('checked-state-changed', $event)"/>
|
@checked-state-changed="$emit('checked-state-changed', $event)"/>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col"
|
<div class="col"
|
||||||
:class="{ 'col-md-8': recipe.steps.length > 1, 'col-md-12': recipe.steps.length <= 1 }">
|
:class="{ 'col-md-8 col-12': recipe.steps.length > 1, 'col-md-12 col-12': recipe.steps.length <= 1 }">
|
||||||
<!-- step text -->
|
<!-- step text -->
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col col-md-12">
|
<div class="col col-md-12">
|
||||||
|
|||||||
Reference in New Issue
Block a user