Skip to content

Commit

Permalink
↔️ Truncate long results (#496)
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanc1 authored Nov 6, 2024
1 parent a88fac6 commit 815265f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/breezy-cups-kick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@myst-theme/site': patch
---

Update search to truncate long results
2 changes: 1 addition & 1 deletion packages/site/src/components/Navigation/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ function SearchResultItem({
>
<div className="flex flex-row h-11">
{iconRenderer}
<div className="flex flex-col justify-center grow">
<div className="flex flex-col justify-center truncate grow">
{titleRenderer}
{subtitleRenderer}
</div>
Expand Down

0 comments on commit 815265f

Please sign in to comment.