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

View file

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

View file

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