Fix footer

This commit is contained in:
samaradel
2020-11-22 18:14:20 +02:00
parent 29ae3c816a
commit eb97a7e67b
5 changed files with 78 additions and 55 deletions

View File

@@ -1,6 +1,9 @@
<template>
<Layout>
<div class="container sm:pxi-0 mx-auto">
<div
class="container sm:pxi-0 mx-auto"
:style="{ height: contentHeight + 'px' }"
>
<img
v-if="loading"
class="m-auto"
@@ -18,8 +21,8 @@
/>
</div>
<div v-else class="flex flex-col with-large my-auto text-center">
<h1 class="py-1">No results</h1>
<p class="pb-5">OOPS! Something went wrong here</p>
<h1>404</h1>
<p>OOPS! Something went wrong here</p>
</div>
</div>
</Layout>
@@ -131,6 +134,9 @@ export default {
}
return result;
},
contentHeight() {
return window.innerHeight - 128;
},
},
mounted() {
this.q = new URL(location.href).searchParams.get("query");
@@ -159,6 +165,6 @@ export default {
<style scoped>
h1 {
font-size: 3rem;
font-size: 13rem;
}
</style>