This commit is contained in:
syuilo
2020-04-18 18:33:45 +09:00
parent 9b9b6ade64
commit 7c61fc37c5
2 changed files with 72 additions and 4 deletions

View File

@ -1,6 +1,6 @@
<template>
<div>
<canvas ref="canvas" class="ysrxegms" :width="value.width" :height="value.height"/>
<div class="ysrxegms">
<canvas ref="canvas" :width="value.width" :height="value.height"/>
</div>
</template>
@ -24,6 +24,11 @@ export default Vue.extend({
<style lang="scss" scoped>
.ysrxegms {
display: block;
display: inline-block;
vertical-align: bottom;
> canvas {
display: block;
}
}
</style>