Merge branch 'master' of github.com:KevinMidboe/vinlottis
This commit is contained in:
@@ -39,7 +39,7 @@ div {
|
||||
flex-direction: column;
|
||||
}
|
||||
ol {
|
||||
padding-left: 1rem;
|
||||
padding-left: 1.375rem !important;
|
||||
margin-left: 0;
|
||||
|
||||
li {
|
||||
|
||||
@@ -61,6 +61,23 @@ export default {
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
this.drawLogoOverCanvas(canvas)
|
||||
},
|
||||
drawLogoOverCanvas(canvas) {
|
||||
const context = canvas.getContext("2d")
|
||||
const centerX = canvas.width / 2
|
||||
const centerY = canvas.height / 2
|
||||
context.font = "30px Arial"
|
||||
context.textAlign = "center"
|
||||
context.textBaseline = "middle"
|
||||
context.arc(centerX, centerY, 25, 0, 2 * Math.PI, false)
|
||||
context.fillStyle = 'white'
|
||||
context.fill()
|
||||
context.lineWidth = 3
|
||||
context.strokeStyle = '#fe5b23'
|
||||
context.stroke()
|
||||
context.fillText("🍾", centerX, centerY)
|
||||
},
|
||||
openVipps: function() {
|
||||
window.location.assign(
|
||||
|
||||
@@ -70,7 +70,7 @@ a {
|
||||
}
|
||||
|
||||
ol {
|
||||
padding-left: 1rem;
|
||||
padding-left: 0;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user