Files
mealie/frontend/app/components/Domain/Recipe/RecipePrintContainer.vue
T
jfmcarreira 8dad430650
Release Drafter / auto_label (push) Skipped
Release Drafter / draft_release (push) Canceled after 0s
CodeQL / Analyze (javascript-typescript) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
Backend Lint and Test / tests (sqlite) (push) Canceled after 0s
Backend Lint and Test / tests (postgres) (push) Canceled after 0s
Docker Nightly Production / Backend Server Tests (push) Canceled after 0s
Frontend Lint and Test / lint (push) Canceled after 0s
Docker Nightly Production / Frontend Tests (push) Canceled after 0s
Build Package / Build frontend and wheel (push) Canceled after 0s
Docker Nightly Production / Build Package (push) Canceled after 0s
Docker Nightly Production / Build E2E Image Cache (push) Canceled after 0s
Docker Nightly Production / Build Tagged Release (push) Canceled after 0s
Docker Nightly Production / Notify Discord (push) Canceled after 0s
feat(recipe): add step quantities and appliance settings
2026-12-01 13:05:50 +00:00

57 lines
922 B
Vue

<template>
<div class="print-container">
<RecipePrintView
:recipe="recipe"
:source-ingredients="sourceIngredients"
:scale="scale"
:density="'compact'"
/>
</div>
</template>
<script setup lang="ts">
import RecipePrintView from "~/components/Domain/Recipe/RecipePrintView.vue";
import type { RecipeIngredient, RecipeOut } from "~/lib/api/types/recipe";
interface Props {
recipe: RecipeOut;
scale?: number;
sourceIngredients?: RecipeIngredient[];
}
withDefaults(defineProps<Props>(), {
scale: 1,
});
</script>
<style>
@media print {
body,
html {
margin-top: 0 !important;
}
.print-container {
display: block !important;
}
.v-main {
display: block;
padding: 0 !important;
margin: 0 !important;
}
.v-main__wrap {
position: absolute;
top: 0;
left: 0;
}
}
</style>
<style scoped>
.print-container {
display: none;
}
</style>