diff --git a/CHANGELOG.md b/CHANGELOG.md index d48911076..7217aa832 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,10 @@ [#1935](https://github.com/nextcloud/cookbook/pull/1935) @christianlupus - remove constant se in RecipeView [#1942](https://github.com/nextcloud/cookbook/pull/1942) @j0hannesr0th + +### Fixed +- **Print view:** Hide yield calculator, ingredient-copy button, yield-calculation warnings + [#1949](https://github.com/nextcloud/cookbook/pull/1949) @seyfeb - fix wrong parsing of recipe yield input [#1944](https://github.com/nextcloud/cookbook/pull/1944) @j0hannesr0th diff --git a/src/components/RecipeView/RecipeIngredient.vue b/src/components/RecipeView/RecipeIngredient.vue index 0547a848e..91f38d527 100644 --- a/src/components/RecipeView/RecipeIngredient.vue +++ b/src/components/RecipeView/RecipeIngredient.vue @@ -88,4 +88,10 @@ li > .ingredient { li > span.icon-error { margin-left: 0.3em; } + +@media print { + li > span.icon-error { + display: none; + } +} diff --git a/src/components/RecipeView/RecipeView.vue b/src/components/RecipeView/RecipeView.vue index ca862292e..21fe9e201 100644 --- a/src/components/RecipeView/RecipeView.vue +++ b/src/components/RecipeView/RecipeView.vue @@ -72,7 +72,10 @@ {{ t('cookbook', 'Servings') }}: - + + {{ recipeYield }} + +