Set canvas size

This commit is contained in:
Torjus Håkestad 2021-04-11 00:58:38 +02:00
parent e3a655d46f
commit ce047b726d

View File

@ -5,7 +5,7 @@
<b-icon :id="chartSettingsID()" icon="gear-fill"></b-icon>
</h2>
<div class="chart-container">
<canvas :id="chartID()" width="400" height="400"></canvas>
<canvas :id="chartID()" width="300" height="300"></canvas>
</div>
<b-popover
:target="chartSettingsID()"
@ -179,6 +179,7 @@ export default class StatsPie extends Vue {
canvas {
width: 70%;
height: auto;
max-height: 70vmin;
}
.stats-container {
align-content: center;