Set canvas size
This commit is contained in:
parent
e3a655d46f
commit
ce047b726d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user