Skip to content

Commit

Permalink
UI Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
jstarry authored and mvines committed Jun 12, 2020
1 parent 279cd78 commit e2f789e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
4 changes: 3 additions & 1 deletion explorer/src/components/NetworkModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ function CustomNetworkInput({ activeSuffix, active }: InputProps) {
return (
<div
className="btn input-group input-group-merge p-0"
onClick={() => updateNetwork(dispatch, Network.Custom, customUrl)}
onClick={() =>
!active && updateNetwork(dispatch, Network.Custom, customUrl)
}
>
<input
type="text"
Expand Down
10 changes: 10 additions & 0 deletions explorer/src/scss/_solana.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,13 @@ code {
color: $dark !important;
}
}

.btn.input-group {
input {
cursor: pointer;

&:focus {
cursor: text;
}
}
}

0 comments on commit e2f789e

Please sign in to comment.