Merge branch 'master' of github.com:KevinMidboe/vinlottis
This commit is contained in:
@@ -94,6 +94,10 @@ export default {
|
||||
methods: {
|
||||
generateColors: function(event, time) {
|
||||
if (time == 5) {
|
||||
if (this.numberOfBallots > 1 && new Set(this.colors).size == 1) {
|
||||
alert('BINGO')
|
||||
}
|
||||
|
||||
if (window.location.hostname == "localhost") {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -116,7 +116,6 @@ export default {
|
||||
}
|
||||
|
||||
.outer {
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
@@ -3,11 +3,13 @@
|
||||
<head>
|
||||
<title>Vinlottis</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link
|
||||
rel="icon"
|
||||
href="/public/assets/images/favicon.ico"
|
||||
type="image/x-icon"
|
||||
/>
|
||||
<link rel="apple-touch-icon" sizes="152x152" href="/public/assets/images/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/public/assets/images/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/public/assets/images/favicon-16x16.png">
|
||||
<link rel="manifest" href="/public/assets/images/site.webmanifest">
|
||||
<link rel="mask-icon" href="/public/assets/images/safari-pinned-tab.svg" color="#23101f">
|
||||
<meta name="msapplication-TileColor" content="#da532c">
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
||||
@@ -86,7 +86,7 @@ export default {
|
||||
maintainAspectRatio: false,
|
||||
title: {
|
||||
display: true,
|
||||
text: "Antall vinn",
|
||||
text: "Antall kjøpt",
|
||||
fontSize: 20,
|
||||
},
|
||||
legend: {
|
||||
@@ -134,10 +134,12 @@ export default {
|
||||
|
||||
.chart {
|
||||
height: 40vh;
|
||||
max-height: 364px;
|
||||
|
||||
@include mobile {
|
||||
position: relative;
|
||||
width: 90vw !important;
|
||||
max-height: unset;
|
||||
height: 50vh;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
@@ -109,10 +109,12 @@ export default {
|
||||
|
||||
.chart {
|
||||
height: 40vh;
|
||||
max-height: 364px;
|
||||
|
||||
@include mobile {
|
||||
position: relative;
|
||||
width: 90vw !important;
|
||||
max-height: unset;
|
||||
height: 50vh;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user