mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 09:39:57 +00:00
Optimized the recipe ingredient mark as done button layout
This commit is contained in:
parent
61b6afa364
commit
0ff5aee6f6
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user