OpenDTU-old/webapp/src/App.vue
Bernhard Kirchen 9f315207d4 webapp: optimize body bottom padding and length
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.
2024-11-01 23:56:48 +01:00

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>