long forms, when scrolled to the bottom, would leave no space between the bottom of the viewport and the buttons, which is unpleasent. short views would still createa large (high) body, for apparently no reason.
25 lines
381 B
Vue
25 lines
381 B
Vue
<template>
|
|
<NavBar />
|
|
<router-view />
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { defineComponent } from 'vue';
|
|
import NavBar from './components/NavBar.vue';
|
|
|
|
export default defineComponent({
|
|
name: 'App',
|
|
components: {
|
|
NavBar,
|
|
},
|
|
});
|
|
</script>
|
|
|
|
<style>
|
|
/* Show it is fixed to the top */
|
|
body {
|
|
padding-bottom: 1rem;
|
|
padding-top: 4.5rem;
|
|
}
|
|
</style>
|