Skip to content
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.

Commit

Permalink
fix(ui): show search input hint on empty input (#980)
Browse files Browse the repository at this point in the history
Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org>
  • Loading branch information
Merle Breitkreuz and rudolfs committed Oct 1, 2020
1 parent b7eaeb9 commit 5afd714
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/DesignSystem/Primitive/Input/Text.svelte
Expand Up @@ -36,7 +36,7 @@
}
};
$: showHint = hint.length > 0 && value.length > 0;
$: showHint = hint.length > 0 && value.length === 0;
</script>

<style>
Expand Down
2 changes: 1 addition & 1 deletion ui/Modal/SearchModal.svelte
Expand Up @@ -80,7 +80,7 @@
<Input.Text
autofocus
bind:value
placeholder="Have a Radicle project ID? Paste it here..."
placeholder="Have a Radicle project ID?"
showLeftItem
style="height: 3rem;"
inputStyle="border: none; border-radius: 0.5rem; height: 3rem;"
Expand Down

0 comments on commit 5afd714

Please sign in to comment.