Skip to content

Commit

Permalink
feat(my-history): underline only the query
Browse files Browse the repository at this point in the history
  • Loading branch information
lauramargar committed Nov 2, 2023
1 parent ffc4441 commit 94aec1e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/predictive-layer/predictive-layer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,18 @@
>
<template #suggestion="{ suggestion }">
<HistoryQuery
class="x-suggestion-group-lg desktop:x-suggestion-group-md"
class="x-suggestion-group-lg hover:x-no-underline desktop:x-suggestion-group-md"
:suggestion="suggestion"
suggestionClass="x-suggestion x-suggestion-lg desktop:x-suggestion-md"
>
<template #default="{ query }">
<HistoryIcon class="x-icon-lg desktop:x-icon-md" />
<div class="x-group x-flex x-flex-col x-gap-2">
<Highlight :text="suggestion.query" :highlight="query" />
<Highlight
:text="suggestion.query"
:highlight="query"
class="group-hover:x-underline"
/>
<HistoryQueryFilters
class="x-w-192 desktop:x-w-128"
:filtersList="suggestion.selectedFilters"
Expand Down

0 comments on commit 94aec1e

Please sign in to comment.