2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 07:40:55 +00:00

incr(ui): minor change to searchbar ui

- fix import error
This commit is contained in:
18alantom 2022-05-31 11:05:33 +05:30
parent 3975eb3f64
commit 11a2589c4a

View File

@ -58,13 +58,13 @@
<hr v-if="suggestions.length" />
<!-- Search List -->
<div :style="`max-height: ${49 * 8 - 1}px`" class="overflow-auto">
<div :style="`max-height: ${49 * 6 - 1}px`" class="overflow-auto">
<div
v-for="(si, i) in suggestions"
:key="`${i}-${si.key}`"
ref="suggestions"
class="hover:bg-blue-50 cursor-pointer"
:class="idx === i ? 'bg-blue-100' : ''"
class="hover:bg-gray-50 cursor-pointer border-l-2 border-white"
:class="idx === i ? 'border-blue-500 bg-gray-50 -pl-1' : ''"
@click="select(i)"
>
<!-- Doc Search List Item -->
@ -209,6 +209,7 @@
</Modal>
</template>
<script>
import { fyo } from 'src/initFyo';
import { getBgTextColorClass } from 'src/utils/colors';
import { getGroupLabelMap, searchGroups } from 'src/utils/search';
import { useKeys } from 'src/utils/vueUtils';