Add proper styles to handle Header's fixed position and main tag to display correctly.

This commit is contained in:
2020-12-17 17:15:16 +01:00
parent ea89471cc0
commit e8cc9c89ba
2 changed files with 4 additions and 4 deletions

View File

@@ -1,11 +1,11 @@
<template>
<header
id="header"
class="fixed top-0 left-0 w-screen bg-white px-4 py-3 shadow-md"
class="fixed top-0 left-0 w-screen bg-white h-16 px-4 py-3 shadow-md"
>
<router-link to="/" class="flex items-center">
<router-link to="/" class="flex w-auto h-full items-center">
<img
class="w-12 mr-4"
class="h-full mr-4"
src="https://avatars2.githubusercontent.com/u/1080062?s=200&v=4"
alt="PeopleDoc - Icon"
/>

View File

@@ -1,7 +1,7 @@
<template>
<div>
<Header />
<main>
<main class="mt-16 px-4">
<Nuxt />
</main>
</div>