Skip to content

Commit

Permalink
refactor: improve line height style for search results
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Wang <[email protected]>
  • Loading branch information
ruibaby committed Aug 9, 2024
1 parent c5b1d11 commit 9145f2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/search-widget/src/search-form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export class SearchForm extends LitElement {
? 'text-white'
: 'text-muted'}"
></span>
<div class="flex-1 space-y-1 min-w-0">
<div class="flex-1 space-y-1.5 min-w-0">
<h2
class="text-sm font-medium ${this.selectedIndex === index
? 'text-white'
Expand All @@ -181,7 +181,7 @@ export class SearchForm extends LitElement {
${hit.description
? html`
<p
class="text-xs ${this.selectedIndex === index
class="text-xs leading-6 ${this.selectedIndex === index
? 'text-white/90'
: 'text-muted'}"
>
Expand Down

0 comments on commit 9145f2a

Please sign in to comment.