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
a76b9b0b
Commit
a76b9b0b
authored
Jan 03, 2024
by
tom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change offsets
parent
d57a835d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
AddressFromTo.tsx
ui/shared/address/AddressFromTo.tsx
+1
-2
AddressEntity.tsx
ui/shared/entities/address/AddressEntity.tsx
+2
-2
No files found.
ui/shared/address/AddressFromTo.tsx
View file @
a76b9b0b
...
@@ -31,14 +31,13 @@ const AddressFromTo = ({ from, to, current, mode: modeProp, className, isLoading
...
@@ -31,14 +31,13 @@ const AddressFromTo = ({ from, to, current, mode: modeProp, className, isLoading
lg
:
(
typeof
modeProp
===
'
object
'
?
modeProp
.
lg
:
modeProp
),
lg
:
(
typeof
modeProp
===
'
object
'
?
modeProp
.
lg
:
modeProp
),
xl
:
(
typeof
modeProp
===
'
object
'
?
modeProp
.
xl
:
modeProp
),
xl
:
(
typeof
modeProp
===
'
object
'
?
modeProp
.
xl
:
modeProp
),
},
},
{
ssr
:
false
},
)
??
'
long
'
;
)
??
'
long
'
;
const
Entity
=
tokenHash
?
AddressEntityWithTokenFilter
:
AddressEntity
;
const
Entity
=
tokenHash
?
AddressEntityWithTokenFilter
:
AddressEntity
;
if
(
mode
===
'
compact
'
)
{
if
(
mode
===
'
compact
'
)
{
return
(
return
(
<
Flex
className=
{
className
}
flexDir=
"column"
rowGap=
"14px"
>
<
Flex
className=
{
className
}
flexDir=
"column"
rowGap=
{
3
}
>
<
Flex
alignItems=
"center"
columnGap=
{
2
}
>
<
Flex
alignItems=
"center"
columnGap=
{
2
}
>
<
IconSvg
<
IconSvg
name=
"arrows/east"
name=
"arrows/east"
...
...
ui/shared/entities/address/AddressEntity.tsx
View file @
a76b9b0b
...
@@ -160,10 +160,10 @@ const AddressEntry = (props: EntityProps) => {
...
@@ -160,10 +160,10 @@ const AddressEntry = (props: EntityProps) => {
_before=
{
!
props
.
isLoading
&&
context
?.
highlightedAddress
===
props
.
address
.
hash
?
{
_before=
{
!
props
.
isLoading
&&
context
?.
highlightedAddress
===
props
.
address
.
hash
?
{
content
:
`" "`
,
content
:
`" "`
,
position
:
'
absolute
'
,
position
:
'
absolute
'
,
top
:
'
-
7
px
'
,
top
:
'
-
5
px
'
,
left
:
'
-5px
'
,
left
:
'
-5px
'
,
width
:
`calc(100% + ${ props.noCopy ? 10 : 5 }px)`
,
width
:
`calc(100% + ${ props.noCopy ? 10 : 5 }px)`
,
height
:
'
calc(100% +
12
px)
'
,
height
:
'
calc(100% +
8
px)
'
,
borderRadius
:
'
base
'
,
borderRadius
:
'
base
'
,
borderColor
:
highlightedBorderColor
,
borderColor
:
highlightedBorderColor
,
borderWidth
:
'
1px
'
,
borderWidth
:
'
1px
'
,
...
...
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