Trigger help-tooltips also by click (instead of only hover, which is Bootstraps default) (fixes #1468)

This commit is contained in:
Bernd Bestel
2021-06-27 19:34:28 +02:00
parent b7a6b91039
commit 33ea1e56cf
22 changed files with 39 additions and 18 deletions

View File

@@ -314,6 +314,7 @@
<label>{{ $__t('Energy (kcal)') }}</label>&nbsp;
<i class="fas fa-question-circle text-muted d-print-none"
data-toggle="tooltip"
data-trigger="hover click"
title="{{ $__t('per serving') }}"></i>
<h3 class="locale-number locale-number-generic pt-0">{{ $calories }}</h3>
</div>
@@ -323,6 +324,7 @@
<label>{{ $__t('Costs') }}&nbsp;
<i class="fas fa-question-circle text-muted d-print-none"
data-toggle="tooltip"
data-trigger="hover click"
title="{{ $__t('Based on the prices of the default consume rule which is "Opened first, then first due first, then first in first out"') }}"></i>
</label>
<h3 class="locale-number locale-number-currency pt-0">{{ $costs }}</h3>