bugfix: height to html, body and #app

This commit is contained in:
Benny Samir Hierl 2022-02-07 21:34:54 +01:00
parent 85625c1015
commit 7a40d60979
3 changed files with 9 additions and 4 deletions

View file

@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Wunschlisten</title>
</head>
<body>
<body class="bg-white dark:bg-stone-900 text-black dark:text-white/75">
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>

View file

@ -1,7 +1,5 @@
<template>
<div
class="h-screen bg-white dark:bg-stone-900 text-black dark:text-white/75 p-4"
>
<div class="h-full p-4">
<Header />
<main class="h-full max-w-[900px] mx-auto">
<router-view v-slot="{ Component }">

View file

@ -1,3 +1,10 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
html,
body,
#app {
min-height: 100% !important;
height: 100%;
}