mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 01:34:24 +08:00
limit the maximum height of the date range menu
This commit is contained in:
@@ -72,7 +72,7 @@
|
|||||||
<v-btn class="button-icon-with-direction" :icon="mdiArrowLeft"
|
<v-btn class="button-icon-with-direction" :icon="mdiArrowLeft"
|
||||||
:disabled="loading || !canShiftDateRange"
|
:disabled="loading || !canShiftDateRange"
|
||||||
@click="shiftDateRange(-1)"/>
|
@click="shiftDateRange(-1)"/>
|
||||||
<v-menu location="bottom">
|
<v-menu location="bottom" max-height="500">
|
||||||
<template #activator="{ props }">
|
<template #activator="{ props }">
|
||||||
<v-btn :disabled="loading || !canChangeDateRange"
|
<v-btn :disabled="loading || !canChangeDateRange"
|
||||||
v-bind="props">{{ queryDateRangeName }}</v-btn>
|
v-bind="props">{{ queryDateRangeName }}</v-btn>
|
||||||
@@ -101,7 +101,7 @@
|
|||||||
@click="shiftDateRange(1)"/>
|
@click="shiftDateRange(1)"/>
|
||||||
</v-btn-group>
|
</v-btn-group>
|
||||||
|
|
||||||
<v-menu location="bottom" v-if="queryAnalysisType === StatisticsAnalysisType.TrendAnalysis">
|
<v-menu location="bottom" max-height="500" v-if="queryAnalysisType === StatisticsAnalysisType.TrendAnalysis">
|
||||||
<template #activator="{ props }">
|
<template #activator="{ props }">
|
||||||
<v-btn class="ms-3" color="default" variant="outlined"
|
<v-btn class="ms-3" color="default" variant="outlined"
|
||||||
:prepend-icon="mdiCalendarRangeOutline" :disabled="loading"
|
:prepend-icon="mdiCalendarRangeOutline" :disabled="loading"
|
||||||
@@ -117,7 +117,7 @@
|
|||||||
</v-list>
|
</v-list>
|
||||||
</v-menu>
|
</v-menu>
|
||||||
|
|
||||||
<v-menu location="bottom" v-if="queryAnalysisType === StatisticsAnalysisType.AssetTrends">
|
<v-menu location="bottom" max-height="500" v-if="queryAnalysisType === StatisticsAnalysisType.AssetTrends">
|
||||||
<template #activator="{ props }">
|
<template #activator="{ props }">
|
||||||
<v-btn class="ms-3" color="default" variant="outlined"
|
<v-btn class="ms-3" color="default" variant="outlined"
|
||||||
:prepend-icon="mdiCalendarRangeOutline" :disabled="loading"
|
:prepend-icon="mdiCalendarRangeOutline" :disabled="loading"
|
||||||
|
|||||||
Reference in New Issue
Block a user