Skip to content

Commit b09c575

Browse files
committed
code alignement
1 parent 18538df commit b09c575

File tree

4 files changed

+15
-10
lines changed

4 files changed

+15
-10
lines changed

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

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
<template>
22
<!-- eslint-disable max-len -->
3-
<div v-bind:class="{
4-
'flex': true,
5-
'flex-col': true,
6-
'justify-end': true,
7-
'shadow-inner': true,
8-
'recommendation-card': true,
9-
'rounded-md': true}"
3+
<div
4+
v-bind:class="{
5+
'flex': true,
6+
'flex-col': true,
7+
'justify-end': true,
8+
'shadow-inner': true,
9+
'recommendation-card': true,
10+
'rounded-md': true}"
1011
v-bind:style="{
1112
'background-repeat': 'no-repeat',
1213
'background-position': 'center center',

frontend/src/components/shared/FilterSlider.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
</div>
77
<div ref="sliderDropdown" v-bind:class="{'slider-dropdown': true, 'hidden': closed}">
88
<div class="flex mb-4 mt-2">
9-
<h1><span class="font-bold">{{this.slider.startMin}} {{this.unit}}</span> to <span class="font-bold">{{this.slider.startMax}} {{this.unit}}</span></h1>
9+
<h1>
10+
<span class="font-bold">{{this.slider.startMin}} {{this.unit}}</span>
11+
to
12+
<span class="font-bold">{{this.slider.startMax}} {{this.unit}}</span></h1>
1013
</div>
1114
<div ref="slider" class="w-64 mb-4"></div>
1215
</div>

frontend/src/components/shared/MultipleFiltersDropdown.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
<!-- eslint-disable max-len -->
33
<div class="focus:outline-none ml-2 flex-1 sm:flex-none" @focusout="close" tabindex="0">
44
<div v-bind:class="{'filter-button': true, 'border-gray-matcha': !closed}" @click="toggle">
5-
<h1 v-bind:class="{ 'opacity-50': closed, 'noSelect': true, 'capitalize': true }">{{name}}</h1>
5+
<h1 v-bind:class="{ 'opacity-50': closed, 'noSelect': true, 'capitalize': true }">
6+
{{name}}</h1>
67
</div>
78
<div v-bind:class="{'sort-dropdown': true, 'hidden': closed, 'right-0': position === 'right', 'md:right-auto': position === 'right'}">
89
<h1 v-for="(option, index) in options" :key="option + index + option"

frontend/src/components/shared/Sort.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default {
2323
}),
2424
methods: {
2525
select(option) {
26-
this.closed = true;
26+
this.close();
2727
this.currentOption = option;
2828
this.$emit('saveSort', option);
2929
},

0 commit comments

Comments
 (0)