From 095befd9b725cb4a581dd48e67801db750a159f9 Mon Sep 17 00:00:00 2001 From: Veit Kunz Date: Thu, 14 Apr 2022 14:26:36 +0200 Subject: [PATCH] Fix some issues to improve the print output --- cookbook/static/themes/tandoor.min.css | 3 ++- vue/src/components/CustomInputSpinButton.vue | 22 +++++++++++++++----- vue/src/components/IngredientComponent.vue | 2 +- vue/src/components/IngredientsCard.vue | 2 +- 4 files changed, 21 insertions(+), 8 deletions(-) diff --git a/cookbook/static/themes/tandoor.min.css b/cookbook/static/themes/tandoor.min.css index f329e4e87..6b49a5f04 100644 --- a/cookbook/static/themes/tandoor.min.css +++ b/cookbook/static/themes/tandoor.min.css @@ -9548,7 +9548,8 @@ a.text-dark:focus, a.text-dark:hover { @media print { *, :after, :before { text-shadow: none !important; - box-shadow: none !important + box-shadow: none !important; + background-color: transparent !important; } a:not(.btn) { diff --git a/vue/src/components/CustomInputSpinButton.vue b/vue/src/components/CustomInputSpinButton.vue index 37eb42e97..597d92e45 100644 --- a/vue/src/components/CustomInputSpinButton.vue +++ b/vue/src/components/CustomInputSpinButton.vue @@ -1,25 +1,24 @@ // code taken from https://github.com/bootstrap-vue/bootstrap-vue/issues/4977#issuecomment-740215609 and modified