update search

This commit is contained in:
2020-11-22 17:58:26 +02:00
parent 777ce2ee4f
commit 16ee63af6e
3 changed files with 12 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div
class="flex px-0 sm:px-4 pb-8 mb-8"
class="flex search-post px-0 sm:px-4 pb-8 mb-8"
v-bind:class="{ 'no-border': !border }"
>
<g-link :to="record.path" class="post-card-image-link">
@@ -100,6 +100,13 @@ export default {
.flex-post {
flex-direction: row;
}
.search-post{
border-bottom-width: 1px;
border-bottom-color: #e2e8f0;
width: 100%;
}
.post-card-image {

View File

@@ -1,7 +1,7 @@
<template>
<Layout>
<div class="container sm:pxi-0 mx-auto overflow-x-hidden">
<div class="flex flex-wrap with-large pt-8 pb-8 mx-4 sm:-mx-4">
<div class="flex flex-wrap pt-8 pb-8 mx-4 sm:-mx-4">
<PostListItem v-for="edge in $page.entries.edges" :key="edge.node.id" :record="edge.node" />
</div>
</div>

View File

@@ -18,8 +18,8 @@
/>
</div>
<div v-else class="flex flex-col with-large my-auto text-center">
<h1>404</h1>
<p>OOPS! Something went wrong here</p>
<h1 class="py-1">No results</h1>
<p class="pb-5">OOPS! Something went wrong here</p>
</div>
</div>
</Layout>
@@ -159,6 +159,6 @@ export default {
<style scoped>
h1 {
font-size: 13rem;
font-size: 3rem;
}
</style>