Change canvas parent container height
This commit is contained in:
parent
2ba6392ce2
commit
1d6496e1f1
@ -5,7 +5,7 @@
|
|||||||
<b-icon :id="chartSettingsID()" icon="gear-fill"></b-icon>
|
<b-icon :id="chartSettingsID()" icon="gear-fill"></b-icon>
|
||||||
</h2>
|
</h2>
|
||||||
<div class="chart-container">
|
<div class="chart-container">
|
||||||
<canvas :id="chartID()" width="50vmin"></canvas>
|
<canvas :id="chartID()"></canvas>
|
||||||
</div>
|
</div>
|
||||||
<b-popover
|
<b-popover
|
||||||
:target="chartSettingsID()"
|
:target="chartSettingsID()"
|
||||||
@ -178,5 +178,6 @@ export default class StatsPie extends Vue {
|
|||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.stats-container {
|
.stats-container {
|
||||||
align-content: center;
|
align-content: center;
|
||||||
|
max-height: 80vmin;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user