[S] Fix mobile height

This commit is contained in:
Hykilpikonna
2021-12-04 17:39:28 -05:00
parent 10bcb9b8b7
commit 7c9d026903
3 changed files with 19 additions and 8 deletions
+9 -7
View File
@@ -1,18 +1,13 @@
<template>
<div id="nav">
<router-link to="/">Home</router-link>
|
<router-link to="/about">About</router-link>
<router-link class="router-link" to="/">Home</router-link>
<router-link class="router-link" to="/about">About</router-link>
</div>
<router-view/>
<MeruIcon/>
</template>
<style lang="sass">
@import "css/global"
</style>
<script>
import MeruIcon from "@/components/MeruIcon";
import {Options, Vue} from "vue-class-component";
@@ -24,3 +19,10 @@ export default class App extends Vue
{
}
</script>
<style lang="sass">
@import "css/global"
.router-link
color: red
</style>
+5 -1
View File
@@ -131,7 +131,11 @@ body
// Vertical flex box
display: flex
flex-flow: column
height: 100vh
height: 100%
body
background: #f9f2e0
height: 100%
html
height: 100%
+5
View File
@@ -0,0 +1,5 @@
module.exports = {
devServer: {
disableHostCheck: true
}
}