Skip to content

Commit

Permalink
fix: some ui issue
Browse files Browse the repository at this point in the history
  • Loading branch information
devchenyan committed Nov 22, 2023
1 parent 1f53a28 commit 13f0aba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/neuron-ui/src/components/NetworkSetting/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,11 @@ const NetworkSetting = ({ chain = chainState, settings: { networks = [] } }: Sta
value: network.id,
label: (
<div className={styles.networkLabel}>
<p>{`${network.name} (${network.remote})`}</p>
<p>{`${network.name} (${
network.remote.length > 40
? `${network.remote.slice(0, 20)}...${network.remote.slice(-20)}`
: network.remote
})`}</p>
<div className={styles.tag}>{t(getNetworkLabelI18nkey(network.chain))}</div>
</div>
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@
color: #999;
font-size: 12px;
margin-left: 4px;
white-space: nowrap;
}
}

1 comment on commit 13f0aba

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Packaging for test is done in 6958489009

Please sign in to comment.