Skip to content

Commit

Permalink
[ALS-6893] Remove warning on no SNP on search change and add padding …
Browse files Browse the repository at this point in the history
…to ANDs (#119)
  • Loading branch information
srpiatt authored Jul 31, 2024
1 parent c732772 commit 6de72ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/lib/components/explorer/genome-filter/SNP/Search.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
warn = false;
}
$: search && removeInvalid(); // remove warnings on search value change.
async function searchSnp() {
if (!validSnp.test(search)) {
setInvalid();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{/if}
{#each $selectedSNPs as snp, index}
{#if index !== 0}
<div class="font-bold flex items-center justify-center w-1/15 s-74128xtMdr4U">AND</div>
<div class="font-bold flex items-center justify-center p-6">AND</div>
{/if}
<div class="border rounded border-surface-300-600-token p-3 flex gap-4">
<div class="flex-auto">
Expand Down

0 comments on commit 6de72ed

Please sign in to comment.