From 0ff5aee6f6f7cce34ef5ac8219e727600a38c24b Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Sun, 19 Jan 2025 20:45:56 +0100 Subject: [PATCH] Optimized the recipe ingredient mark as done button layout --- public/viewjs/recipes.js | 2 +- views/recipes.blade.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/viewjs/recipes.js b/public/viewjs/recipes.js index 510fd1fc..4df66a24 100644 --- a/public/viewjs/recipes.js +++ b/public/viewjs/recipes.js @@ -445,7 +445,7 @@ $(document).on('click', '.ingredient-done-button', function(e) { e.preventDefault(); - $(e.currentTarget).parent().toggleClass("text-strike-through"); + $(e.currentTarget).parent().toggleClass("text-strike-through").toggleClass("text-muted"); }); $(document).on("click", ".add-to-mealplan-button", function(e) diff --git a/views/recipes.blade.php b/views/recipes.blade.php index 6421a27c..f1b30f8f 100644 --- a/views/recipes.blade.php +++ b/views/recipes.blade.php @@ -505,12 +505,12 @@
{{ $__t('Disabled') }}
@endif @if($userSettings['recipes_show_ingredient_checkbox']) - - + @endif @php