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
6fd2316b
Unverified
Commit
6fd2316b
authored
Feb 10, 2023
by
Igor Stuev
Committed by
GitHub
Feb 10, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #579 from blockscout/fixes-2
bug fixes
parents
5e48afc1
d50fd4c8
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
7 deletions
+9
-7
Transaction.tsx
ui/pages/Transaction.tsx
+1
-1
TokenTransferTable.tsx
ui/token/TokenTransfer/TokenTransferTable.tsx
+1
-1
TokenTransferTableItem.tsx
ui/token/TokenTransfer/TokenTransferTableItem.tsx
+7
-5
TokenTransfer.pw.tsx_default_erc1155-mobile-1.png
...shots__/TokenTransfer.pw.tsx_default_erc1155-mobile-1.png
+0
-0
TokenTransfer.pw.tsx_default_erc20-mobile-1.png
...enshots__/TokenTransfer.pw.tsx_default_erc20-mobile-1.png
+0
-0
TokenTransfer.pw.tsx_default_erc721-mobile-1.png
...nshots__/TokenTransfer.pw.tsx_default_erc721-mobile-1.png
+0
-0
No files found.
ui/pages/Transaction.tsx
View file @
6fd2316b
...
@@ -48,7 +48,7 @@ const TransactionPageContent = () => {
...
@@ -48,7 +48,7 @@ const TransactionPageContent = () => {
});
});
const
additionals
=
(
const
additionals
=
(
<
Flex
justifyContent=
"space-between"
alignItems=
"center"
flexGrow=
{
1
}
>
<
Flex
justifyContent=
"space-between"
alignItems=
"center"
flexGrow=
{
1
}
flexWrap=
"wrap"
>
{
data
?.
tx_tag
&&
<
Tag
my=
{
2
}
>
{
data
.
tx_tag
}
</
Tag
>
}
{
data
?.
tx_tag
&&
<
Tag
my=
{
2
}
>
{
data
.
tx_tag
}
</
Tag
>
}
{
explorersLinks
.
length
>
0
&&
(
{
explorersLinks
.
length
>
0
&&
(
<
Flex
<
Flex
...
...
ui/token/TokenTransfer/TokenTransferTable.tsx
View file @
6fd2316b
...
@@ -23,7 +23,7 @@ const TokenTransferTable = ({ data, top, token, showSocketInfo, socketInfoAlert,
...
@@ -23,7 +23,7 @@ const TokenTransferTable = ({ data, top, token, showSocketInfo, socketInfoAlert,
<
Table
variant=
"simple"
size=
"sm"
>
<
Table
variant=
"simple"
size=
"sm"
>
<
Thead
top=
{
top
}
>
<
Thead
top=
{
top
}
>
<
Tr
>
<
Tr
>
<
Th
width=
"40%"
>
Txn hash
</
Th
>
<
Th
width=
{
token
.
type
===
'
ERC-1155
'
?
'
60%
'
:
'
80%
'
}
>
Txn hash
</
Th
>
<
Th
width=
"164px"
>
Method
</
Th
>
<
Th
width=
"164px"
>
Method
</
Th
>
<
Th
width=
"148px"
>
From
</
Th
>
<
Th
width=
"148px"
>
From
</
Th
>
<
Th
width=
"36px"
px=
{
0
}
/>
<
Th
width=
"36px"
px=
{
0
}
/>
...
...
ui/token/TokenTransfer/TokenTransferTableItem.tsx
View file @
6fd2316b
import
{
Tr
,
Td
,
Tag
,
Text
,
Icon
}
from
'
@chakra-ui/react
'
;
import
{
Tr
,
Td
,
Tag
,
Text
,
Icon
,
Grid
}
from
'
@chakra-ui/react
'
;
import
BigNumber
from
'
bignumber.js
'
;
import
BigNumber
from
'
bignumber.js
'
;
import
React
from
'
react
'
;
import
React
from
'
react
'
;
...
@@ -35,10 +35,12 @@ const TokenTransferTableItem = ({
...
@@ -35,10 +35,12 @@ const TokenTransferTableItem = ({
return
(
return
(
<
Tr
alignItems=
"top"
>
<
Tr
alignItems=
"top"
>
<
Td
>
<
Td
>
<
Address
display=
"inline-flex"
maxW=
"100%"
fontWeight=
{
600
}
lineHeight=
"30px"
>
<
Grid
alignItems=
"center"
gridTemplateColumns=
"auto 130px"
width=
"fit-content"
>
<
AddressLink
type=
"transaction"
hash=
{
txHash
}
/>
<
Address
display=
"inline-flex"
fontWeight=
{
600
}
lineHeight=
"30px"
>
</
Address
>
<
AddressLink
type=
"transaction"
hash=
{
txHash
}
/>
{
timestamp
&&
<
Text
color=
"gray.500"
fontWeight=
"400"
mt=
"10px"
>
{
timeAgo
}
</
Text
>
}
</
Address
>
{
timestamp
&&
<
Text
color=
"gray.500"
fontWeight=
"400"
ml=
"10px"
>
{
timeAgo
}
</
Text
>
}
</
Grid
>
</
Td
>
</
Td
>
<
Td
>
<
Td
>
{
method
?
<
Tag
colorScheme=
"gray"
>
{
method
}
</
Tag
>
:
'
-
'
}
{
method
?
<
Tag
colorScheme=
"gray"
>
{
method
}
</
Tag
>
:
'
-
'
}
...
...
ui/token/TokenTransfer/__screenshots__/TokenTransfer.pw.tsx_default_erc1155-mobile-1.png
View replaced file @
5e48afc1
View file @
6fd2316b
52.6 KB
|
W:
|
H:
51.6 KB
|
W:
|
H:
2-up
Swipe
Onion skin
ui/token/TokenTransfer/__screenshots__/TokenTransfer.pw.tsx_default_erc20-mobile-1.png
View replaced file @
5e48afc1
View file @
6fd2316b
20.4 KB
|
W:
|
H:
19.8 KB
|
W:
|
H:
2-up
Swipe
Onion skin
ui/token/TokenTransfer/__screenshots__/TokenTransfer.pw.tsx_default_erc721-mobile-1.png
View replaced file @
5e48afc1
View file @
6fd2316b
20.8 KB
|
W:
|
H:
20.4 KB
|
W:
|
H:
2-up
Swipe
Onion skin
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