Mobile
This commit is contained in:
@@ -2,9 +2,7 @@
|
||||
<div class="outer">
|
||||
<div class="container">
|
||||
<h1>Knowit Vinlottis</h1>
|
||||
<router-link to="generate" class="generate-link"
|
||||
>Klarer du ikke velge lodd-farger?</router-link
|
||||
>
|
||||
<router-link to="generate" class="generate-link">Klarer du ikke velge lodd-farger?</router-link>
|
||||
<div class="chart-container">
|
||||
<PurchaseGraph class="purchase" />
|
||||
<WinGraph class="win" />
|
||||
@@ -67,4 +65,22 @@ h1 {
|
||||
width: 45vw;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 768px) {
|
||||
.purchase,
|
||||
.win {
|
||||
width: 100vw;
|
||||
}
|
||||
|
||||
.chart-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.outer {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -2,12 +2,9 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Vinlottis</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
||||
<% for (var chunk in htmlWebpackPlugin.files.chunks) { %>
|
||||
<script src="<%= htmlWebpackPlugin.files.chunks[chunk].entry %>"></script>
|
||||
<% } %>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user