Skip to content

Commit 17506e7

Browse files
committed
message if 0 results
1 parent 4edc9c7 commit 17506e7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

frontend/src/components/app/recommendations/HistoryRecommendations.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@
5050
v-for="(recommendation, index) in recommendations" :key="index"
5151
v-bind:recommendation="recommendation"></RecommendationCard>
5252
</div>
53+
<div class="text-center md:text-left px-4 md:px-0" v-if="!recommendations.length">
54+
<h1 style="opacity: 0.085; font-size: 10vh;" class="uppercase leading-none">"Good things</h1>
55+
<h1 style="opacity: 0.085; font-size: 10vh;" class="uppercase leading-none">take time"</h1>
56+
</div>
5357
</section>
5458
</template>
5559

frontend/src/views/app/History.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!-- eslint-disable max-len -->
33
<div class="mx-4 sm:mx-16 lg:mx-32">
44
<NavBar v-bind:currentRoute="'History'"></NavBar>
5-
<section class="mx-auto">
5+
<section class="mx-auto mt-4">
66
<div class="flex items-center justify-center md:justify-start w-full mb-4">
77
<h1
88
class="text-3xl sm:text-5xl my-4 inline-block text-center leading-none onboarding-sub-container-content-heading">

0 commit comments

Comments
 (0)