Change canvas parent container height

This commit is contained in:
Torjus Håkestad 2021-04-11 00:39:35 +02:00
parent 2ba6392ce2
commit 1d6496e1f1

View File

@ -5,7 +5,7 @@
<b-icon :id="chartSettingsID()" icon="gear-fill"></b-icon>
</h2>
<div class="chart-container">
<canvas :id="chartID()" width="50vmin"></canvas>
<canvas :id="chartID()"></canvas>
</div>
<b-popover
:target="chartSettingsID()"
@ -178,5 +178,6 @@ export default class StatsPie extends Vue {
<style lang="scss" scoped>
.stats-container {
align-content: center;
max-height: 80vmin;
}
</style>