Optimized the recipe ingredient mark as done button layout

This commit is contained in:
Bernd Bestel 2025-01-19 20:45:56 +01:00
parent 61b6afa364
commit 0ff5aee6f6
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300
2 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -505,12 +505,12 @@
<div class="small text-muted font-italic">{{ $__t('Disabled') }}</div>
@endif
@if($userSettings['recipes_show_ingredient_checkbox'])
<a class="btn btn-link btn-xs cursor-pointer ingredient-done-button"
<a class="btn btn-light btn-sm ingredient-done-button"
href="#"
data-toggle="tooltip"
data-placement="right"
title="{{ $__t('Mark this item as done') }}">
<i class="fa-solid fa-check-circle"></i>
<i class="fa-solid fa-check-circle text-primary"></i>
</a>
@endif
@php