Skip to content

Commit a51cf70

Browse files
committed
dropdown add triangle pointing down icon
1 parent a5c7c3e commit a51cf70

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

frontend/src/components/shared/DropdownDisplayChoice.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="focus:outline-none sm:flex-none" @focusout="close" tabindex="0">
44
<div v-bind:class="{'settings-button-choice': true, 'border-gray-matcha': !closed}" @click="toggle">
5-
<h1 v-bind:class="{ 'opacity-50': closed, 'noSelect': true, 'capitalize': true }">{{ currentOption }}</h1>
5+
<h1 v-bind:class="{ 'opacity-50': closed, 'noSelect': true, 'capitalize': true }">{{ currentOption }}<span class="ml-2">▼</span></h1>
66
</div>
77
<div v-bind:class="{'sort-dropdown': true, 'z-10': true , 'hidden': closed, 'h-auto': options.length < 5}">
88
<h1 v-for="(option, index) in options" :key="option + index + option"

frontend/src/components/shared/DropdownDisplayChoices.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<div class="focus:outline-none ml-2 sm:flex-none" @focusout="close" tabindex="0">
44
<div v-bind:class="{'settings-button-choice': true, 'rounded-lg': true , 'border-gray-matcha': !closed}" @click="toggle">
55
<h1 v-bind:class="{ 'opacity-50': closed, 'noSelect': true, 'capitalize': true }">
6-
{{ getName }}</h1>
6+
{{ getName }}<span class="ml-2">▼</span></h1>
77
</div>
88
<div v-bind:class="{'sort-dropdown': true, 'z-10': true, 'h-auto': options.length < 5 , 'hidden': closed, 'right-0': position === 'right', 'md:right-auto': position === 'right'}">
99
<h1 v-for="(option, index) in options" :key="option + index + option"

0 commit comments

Comments
 (0)