mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-11-29 15:24:30 +03:00
style fixes
This commit is contained in:
parent
652dc76063
commit
50c752455a
@ -150,6 +150,7 @@
|
||||
.error-message {
|
||||
color: var(--ansi-red);
|
||||
margin-top: 0.5rem;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
.direct-checkbox {
|
||||
|
@ -97,7 +97,7 @@ function CommitDotOsName({
|
||||
{
|
||||
<form className="form" onSubmit={handleCommit}>
|
||||
{isPending || isConfirming ? (
|
||||
<Loader msg={isConfirming ? 'Pre-committing to chosen ID...' : 'Please confirm the transaction in your wallet'} />
|
||||
<Loader msg={isConfirming ? 'Pre-committing to chosen name...' : 'Please confirm the transaction in your wallet'} />
|
||||
) : (
|
||||
<>
|
||||
<h3 className="form-label">
|
||||
@ -113,17 +113,18 @@ function CommitDotOsName({
|
||||
type="submit"
|
||||
className="button"
|
||||
>
|
||||
Register .os name
|
||||
Register name
|
||||
</button>
|
||||
<p>This will confirm availability of the name and reserve it, then on the next screen you will be prompted to mint.</p>
|
||||
<Link to="/reset" className="button secondary">
|
||||
Already have a dot-os-name?
|
||||
Already have a node?
|
||||
</Link>
|
||||
</div>
|
||||
</>
|
||||
)}
|
||||
{isError && (
|
||||
<p className="error-message">
|
||||
Error: {error?.message || 'There was an error registering your dot-os-name, please try again.'}
|
||||
Error: {error?.message || 'There was an error registering your name, please try again.'}
|
||||
</p>
|
||||
)}
|
||||
</form>
|
||||
|
@ -121,7 +121,7 @@ function MintDotOsName({
|
||||
<>
|
||||
<div className="button-group">
|
||||
<button type="submit" className="button">
|
||||
Mint name {knsName}
|
||||
Mint {knsName}
|
||||
</button>
|
||||
</div>
|
||||
</>
|
||||
|
Loading…
Reference in New Issue
Block a user