Skip to content

Commit

Permalink
Submit transfers, highlight identical items, show transfer details be…
Browse files Browse the repository at this point in the history
…fore confirmation (#3640)

- **feat(app): submit cosmos transfers**
- **feat(app): highlight all instances of address**
- **feat(app): improve hovers and truncations**
- **fix(app): sender/receiver justification**
  • Loading branch information
cor authored Jan 24, 2025
2 parents 8126d57 + 9db6e6f commit 2fde574
Show file tree
Hide file tree
Showing 15 changed files with 709 additions and 194 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,24 +47,16 @@ function toggleExpand(chainId: string) {

<!-- Chain List -->
<div class="flex flex-col h-full overflow-y-scroll">
<div class="p-2 space-y-2 h-full">
{#each $context.chains as chain}
<div>
<Button
variant="ghost"
class="px-4 py-2 w-full rounded-none flex justify-between items-center"
<button
class="px-2 py-1 w-full hover:bg-neutral-400 dark:hover:bg-neutral-800 text-md flex justify-start items-center"
on:click={() => setChain(selected, chain.chain_id)}
>
<div class="flex items-center gap-2">
<span>{chain.display_name}</span>
</div>
<button
class="border-2 border-black h-8 w-8 hover:bg-gray-200 active:border-gray-400"
on:click|stopPropagation={() => toggleExpand(chain.chain_id)}
>
<span>i</span>
</button>
</Button>
</button>

<!-- Expanded Info Panel -->
{#if expandedChainId === chain.chain_id}
Expand Down Expand Up @@ -98,6 +90,5 @@ function toggleExpand(chainId: string) {
{/if}
</div>
{/each}
</div>
</div>
</div>
</div>
Loading

0 comments on commit 2fde574

Please sign in to comment.