Skip to content

Commit 816f55a

Browse files
committed
Removed last update
1 parent 646bf8b commit 816f55a

File tree

2 files changed

+14
-20
lines changed

2 files changed

+14
-20
lines changed

components/Overview/index.vue

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
<template>
22
<div class="overview">
33
<div class="title">
4-
<h2>
5-
{{ result.title }}
6-
<span class="last-update">Last update {{ result.last_updated }} ago</span>
7-
</h2>
4+
{{ result.title }}
85
<a class="close" href="#" @click.prevent="onClose">
96
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none">
107
<g opacity="0.3">
@@ -209,23 +206,20 @@ export default {
209206
position: sticky;
210207
top: 0;
211208
z-index: 10;
209+
border-bottom: 1px solid #cccccc;
210+
margin: 0 0 12px;
211+
padding: 32px 26px 8px 0;
212+
font-size: 32px;
212213
background: white;
213214
214-
h2 {
215-
border-bottom: 1px solid #cccccc;
216-
margin: 0 0 12px;
217-
padding: 32px 26px 8px 0;
218-
font-size: 32px;
219-
}
220-
221-
.last-update {
222-
display: block;
223-
padding-top: 4px;
224-
font-size: 12px;
225-
font-weight: 300;
226-
text-transform: uppercase;
227-
color: #666666;
228-
}
215+
// .last-update {
216+
// display: block;
217+
// padding-top: 4px;
218+
// font-size: 12px;
219+
// font-weight: 300;
220+
// text-transform: uppercase;
221+
// color: #666666;
222+
// }
229223
}
230224
231225
.section {

pages/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<LazyHydrate ssr-only :trigger-hydration="isOpen">
1313
<div class="overview-wrapper">
1414
<div class="overview-background">
15-
<Overview @close="onToggle" />
15+
<Overview v-if="isOpen" @close="onToggle" />
1616
</div>
1717
</div>
1818
</LazyHydrate>

0 commit comments

Comments
 (0)