Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
d8d2c46a
Commit
d8d2c46a
authored
Apr 03, 2023
by
tom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
copy to clipboard button
parent
901da88c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
zIndices.ts
theme/foundations/zIndices.ts
+1
-1
AddressVerificationStepSignature.tsx
...ssVerification/steps/AddressVerificationStepSignature.tsx
+5
-1
No files found.
theme/foundations/zIndices.ts
View file @
d8d2c46a
...
...
@@ -3,7 +3,6 @@ const zIndices = {
auto
:
'
auto
'
,
base
:
0
,
docked
:
10
,
tooltip
:
900
,
dropdown
:
1000
,
sticky
:
1100
,
sticky1
:
1101
,
...
...
@@ -12,6 +11,7 @@ const zIndices = {
overlay
:
1300
,
modal
:
1400
,
popover
:
1500
,
tooltip
:
1550
,
// otherwise tooltips will not be visible in modals
skipLink
:
1600
,
toast
:
1700
,
};
...
...
ui/addressVerification/steps/AddressVerificationStepSignature.tsx
View file @
d8d2c46a
...
...
@@ -17,6 +17,7 @@ import type { VerifiedAddress } from 'types/api/account';
import
appConfig
from
'
configs/app/config
'
;
import
type
{
ResourceError
}
from
'
lib/api/resources
'
;
import
useApiFetch
from
'
lib/api/useApiFetch
'
;
import
CopyToClipboard
from
'
ui/shared/CopyToClipboard
'
;
import
AddressVerificationFieldMessage
from
'
../fields/AddressVerificationFieldMessage
'
;
import
AddressVerificationFieldSignature
from
'
../fields/AddressVerificationFieldSignature
'
;
...
...
@@ -137,7 +138,10 @@ const AddressVerificationStepSignature = ({ address, signingMessage, contractCre
</
Flex
>
)
}
<
Flex
rowGap=
{
5
}
flexDir=
"column"
>
<
AddressVerificationFieldMessage
formState=
{
formState
}
control=
{
control
}
/>
<
div
>
<
CopyToClipboard
text=
{
signingMessage
}
ml=
"auto"
display=
"block"
/>
<
AddressVerificationFieldMessage
formState=
{
formState
}
control=
{
control
}
/>
</
div
>
<
RadioGroup
onChange=
{
handleSignMethodChange
}
value=
{
signMethod
}
display=
"flex"
flexDir=
"column"
rowGap=
{
4
}
>
<
Radio
value=
"wallet"
>
Sign via Web3 wallet
</
Radio
>
<
Radio
value=
"manually"
>
Sign manually
</
Radio
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment