update search
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user