Skip to content

Commit 092907d

Browse files
committed
browse,search,history space bottom equal to sides
1 parent 99533de commit 092907d

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<!-- eslint-disable max-len -->
3-
<section class="sm:mb-16 lg:mb-32">
3+
<section class="mb-4 sm:mb-16 lg:mb-32">
44
<div v-if="recommendationsBackup.length" v-bind:class="{
55
'flex': true,
66
'w-full': true,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<!-- eslint-disable max-len -->
3-
<section class="sm:mb-16 lg:mb-32">
3+
<section class="mb-4 sm:mb-16 lg:mb-32">
44
<h1
55
class="text-5xl my-4 text-center md:text-left leading-none onboarding-sub-container-content-heading">
66
{{recommendations.length}} {{title}}</h1>

frontend/src/views/app/Browse.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<!-- eslint-disable max-len -->
33
<div class="mx-4 sm:mx-16 lg:mx-32">
4-
<section class="mx-auto">
4+
<section class="mx-auto relative">
55
<div v-if="!recommendationsAnalysisDone" class="flex items-center justify-center mt-32">
66
<img class="h-36" src="../../assets/loading.svg">
77
</div>
@@ -12,7 +12,7 @@
1212
v-bind:title="'Potential matches'"
1313
v-bind:recommendationsReceived="recommendations"
1414
v-bind:recommendationsAnalysis="recommendationsAnalysis"></Recommendations>
15-
<div id="invisibleFooter" class="h-4 w-full bg-white"></div>
15+
<div id="invisibleFooter" class="h-4 absolute bottom-0 w-full"></div>
1616
<ScrollUpButton></ScrollUpButton>
1717
</section>
1818
</div>

frontend/src/views/app/History.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<div v-if="!historyFetched" class="mx-auto flex items-center justify-center mt-32">
55
<img class="h-36" src="../../assets/loading.svg">
66
</div>
7-
<section v-bind:class="{'mx-auto': true, 'mt-4': true, 'invisible': !historyFetched}">
7+
<section v-bind:class="{'mx-auto': true, 'mt-4': true, 'invisible': !historyFetched, 'relative': true,}">
88
<div class="flex items-center justify-center md:justify-start w-full mb-4">
99
<h1
1010
class="text-3xl sm:text-5xl my-4 inline-block text-center leading-none onboarding-sub-container-content-heading">
@@ -24,7 +24,7 @@
2424
v-bind:title="'Potential matches'"
2525
v-bind:recommendationsReceived="recommendations"
2626
v-bind:recommendationsAnalysis="recommendationsAnalysis"></HistoryRecommendations>
27-
<div id="invisibleFooterHistory" class="h-4 w-full bg-white"></div>
27+
<div id="invisibleFooterHistory" class="h-4 absolute bottom-0 w-full"></div>
2828
<ScrollUpButton></ScrollUpButton>
2929
</section>
3030
</div>

frontend/src/views/app/Search.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<!-- eslint-disable max-len -->
3-
<div class="mx-4 sm:mx-16 lg:mx-32">
3+
<div class="mx-4 sm:mx-16 lg:mx-32 relative">
44
<div v-if="!recommendationsAnalysisDone && !sliderValuesFetched" class="mx-auto flex items-center justify-center mt-32">
55
<img class="h-36" src="../../assets/loading.svg">
66
</div>
@@ -16,7 +16,8 @@
1616
v-bind:recommendationsAnalysis="filters"></Recommendations>
1717
<ScrollUpButton></ScrollUpButton>
1818
</section>
19-
<div id="invisibleFooterSearch" class="h-4 w-full bg-white"></div>
19+
<div id="invisibleFooterSearch"
20+
v-bind:class="{'h-4': true, 'absolute': true, 'bottom-0': true, 'w-full': true, 'invisible': !recommendationsAnalysisDone}"></div>
2021
<section v-on:click="setError(null)"
2122
v-if="!recommendationsAnalysisDone && sliderValuesFetched"
2223
class="flex flex-col my-8 md:my-12">

0 commit comments

Comments
 (0)