mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-07-10 23:02:46 +02:00
Refine sidebar filter empty state copy
This commit is contained in:
@@ -670,7 +670,7 @@ function Sidebar({ className }: { className?: string }) {
|
|||||||
className="!h-auto py-3 px-3 !text-text-subtle text-sm leading-relaxed text-center"
|
className="!h-auto py-3 px-3 !text-text-subtle text-sm leading-relaxed text-center"
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
Found matches by{" "}
|
No results, but found matches by{" "}
|
||||||
{emptyFilterSuggestions?.map((suggestion, i) => (
|
{emptyFilterSuggestions?.map((suggestion, i) => (
|
||||||
<span key={suggestion.field}>
|
<span key={suggestion.field}>
|
||||||
{i > 0 && " or "}
|
{i > 0 && " or "}
|
||||||
@@ -688,12 +688,17 @@ function Sidebar({ className }: { className?: string }) {
|
|||||||
</div>
|
</div>
|
||||||
</EmptyStateText>
|
</EmptyStateText>
|
||||||
) : (
|
) : (
|
||||||
<div className="text-text-subtle">
|
<EmptyStateText
|
||||||
No results for{" "}
|
wrapperClassName="!h-auto mb-auto"
|
||||||
<InlineCode className="inline-block max-w-36 truncate align-middle">
|
className="!h-auto py-3 px-3 !text-text-subtle text-sm leading-relaxed text-center"
|
||||||
{filterText.text}
|
>
|
||||||
</InlineCode>
|
<div>
|
||||||
</div>
|
No results for{" "}
|
||||||
|
<InlineCode className="inline-block max-w-36 truncate align-middle">
|
||||||
|
{filterText.text}
|
||||||
|
</InlineCode>
|
||||||
|
</div>
|
||||||
|
</EmptyStateText>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
|
|||||||
Reference in New Issue
Block a user