UI Tweaks

This commit is contained in:
Justin Starry 2020-03-19 20:57:47 +08:00 committed by Michael Vines
parent 45898415a1
commit 82543886fb
2 changed files with 13 additions and 1 deletions

View File

@ -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"

View File

@ -23,3 +23,13 @@ code {
color: $dark !important;
}
}
.btn.input-group {
input {
cursor: pointer;
&:focus {
cursor: text;
}
}
}