WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 8ae5c1e

Browse files
committed
limit the maximum height of the date range menu
1 parent 29651f6 commit 8ae5c1e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/views/desktop/statistics/TransactionPage.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
<v-btn class="button-icon-with-direction" :icon="mdiArrowLeft"
7373
:disabled="loading || !canShiftDateRange"
7474
@click="shiftDateRange(-1)"/>
75-
<v-menu location="bottom">
75+
<v-menu location="bottom" max-height="500">
7676
<template #activator="{ props }">
7777
<v-btn :disabled="loading || !canChangeDateRange"
7878
v-bind="props">{{ queryDateRangeName }}</v-btn>
@@ -101,7 +101,7 @@
101101
@click="shiftDateRange(1)"/>
102102
</v-btn-group>
103103

104-
<v-menu location="bottom" v-if="queryAnalysisType === StatisticsAnalysisType.TrendAnalysis">
104+
<v-menu location="bottom" max-height="500" v-if="queryAnalysisType === StatisticsAnalysisType.TrendAnalysis">
105105
<template #activator="{ props }">
106106
<v-btn class="ms-3" color="default" variant="outlined"
107107
:prepend-icon="mdiCalendarRangeOutline" :disabled="loading"
@@ -117,7 +117,7 @@
117117
</v-list>
118118
</v-menu>
119119

120-
<v-menu location="bottom" v-if="queryAnalysisType === StatisticsAnalysisType.AssetTrends">
120+
<v-menu location="bottom" max-height="500" v-if="queryAnalysisType === StatisticsAnalysisType.AssetTrends">
121121
<template #activator="{ props }">
122122
<v-btn class="ms-3" color="default" variant="outlined"
123123
:prepend-icon="mdiCalendarRangeOutline" :disabled="loading"

0 commit comments

Comments
 (0)