allow tapping on body to clear tooltip

This commit is contained in:
Damien Elmes 2020-08-21 15:15:19 +10:00
parent ef47ac96a7
commit 718b45b505

View File

@ -97,6 +97,12 @@
const all = i18n.tr(i18n.TR.STATISTICS_RANGE_ALL_HISTORY);
</script>
<style>
.no-focus-outline:focus {
outline: 0;
}
</style>
<div class="range-box">
<div class="spin {refreshing ? 'active' : ''}"></div>
@ -136,6 +142,7 @@
</div>
<div class="range-box-pad" />
<div tabindex="-1" class="no-focus-outline">
{#if sourceData}
<TodayStats {sourceData} {i18n} />
<FutureDue {sourceData} {i18n} />
@ -148,3 +155,4 @@
<ButtonsGraph {sourceData} {revlogRange} {i18n} />
<AddedGraph {sourceData} {i18n} />
{/if}
</div>