mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 17:45:39 +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.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)
|
$(document).on("click", ".add-to-mealplan-button", function(e)
|
||||||
|
@ -505,12 +505,12 @@
|
|||||||
<div class="small text-muted font-italic">{{ $__t('Disabled') }}</div>
|
<div class="small text-muted font-italic">{{ $__t('Disabled') }}</div>
|
||||||
@endif
|
@endif
|
||||||
@if($userSettings['recipes_show_ingredient_checkbox'])
|
@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="#"
|
href="#"
|
||||||
data-toggle="tooltip"
|
data-toggle="tooltip"
|
||||||
data-placement="right"
|
data-placement="right"
|
||||||
title="{{ $__t('Mark this item as done') }}">
|
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>
|
</a>
|
||||||
@endif
|
@endif
|
||||||
@php
|
@php
|
||||||
|
Loading…
x
Reference in New Issue
Block a user