Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
interface
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
LuckySwap
interface
Commits
da6e1313
Unverified
Commit
da6e1313
authored
Nov 10, 2022
by
aballerr
Committed by
GitHub
Nov 10, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: Several Listing Cleanup Items (#5119)
* Improving view my nfts and listing
parent
4ef4ea8f
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
90 additions
and
66 deletions
+90
-66
index.tsx
src/components/Common/index.tsx
+31
-0
index.tsx
src/components/NavBar/index.tsx
+23
-1
SlideOutMenu.tsx
src/components/WalletDropdown/SlideOutMenu.tsx
+2
-12
BagRow.css.ts
src/nft/components/bag/BagRow.css.ts
+1
-0
ListingModal.css.ts
src/nft/components/bag/profile/ListingModal.css.ts
+2
-0
ListingSection.tsx
src/nft/components/bag/profile/ListingSection.tsx
+1
-0
CollectionStats.tsx
src/nft/components/collection/CollectionStats.tsx
+1
-1
AssetActivity.tsx
src/nft/components/details/AssetActivity.tsx
+2
-14
AssetDetails.tsx
src/nft/components/details/AssetDetails.tsx
+3
-18
FilterSidebar.tsx
src/nft/components/profile/view/FilterSidebar.tsx
+20
-12
ProfilePage.tsx
src/nft/components/profile/view/ProfilePage.tsx
+3
-5
WalletAssetDisplay.tsx
src/nft/components/profile/view/WalletAssetDisplay.tsx
+1
-2
sell.css.ts
src/nft/pages/profile/sell.css.ts
+0
-1
No files found.
src/components/Common/index.tsx
0 → 100644
View file @
da6e1313
import
{
css
}
from
'
styled-components/macro
'
export
const
ScrollBarStyles
=
css
<
{
$isHorizontalScroll
?:
boolean
}
>
`
// Firefox scrollbar styling
scrollbar-width: thin;
scrollbar-color:
${({
theme
})
=>
`
${
theme
.
backgroundOutline
}
transparent`
}
;
height: 100%;
// safari and chrome scrollbar styling
::-webkit-scrollbar {
background: transparent;
// Set height for horizontal scrolls
${({
$isHorizontalScroll
})
=>
{
return
$isHorizontalScroll
?
css
`
height: 4px;
overflow-x: scroll;
`
:
css
`
width: 4px;
overflow-y: scroll;
`
}}
}
::
-
webkit
-
scrollbar
-
thumb
{
background
:
$
{({
theme
})
=>
theme
.
backgroundOutline
}
;
border-radius: 8px;
}
`
src/components/NavBar/index.tsx
View file @
da6e1313
...
@@ -7,7 +7,8 @@ import { useIsNftPage } from 'hooks/useIsNftPage'
...
@@ -7,7 +7,8 @@ import { useIsNftPage } from 'hooks/useIsNftPage'
import
{
Box
}
from
'
nft/components/Box
'
import
{
Box
}
from
'
nft/components/Box
'
import
{
Row
}
from
'
nft/components/Flex
'
import
{
Row
}
from
'
nft/components/Flex
'
import
{
UniIcon
}
from
'
nft/components/icons
'
import
{
UniIcon
}
from
'
nft/components/icons
'
import
{
ReactNode
}
from
'
react
'
import
{
useIsMobile
}
from
'
nft/hooks
'
import
{
ReactNode
,
useMemo
}
from
'
react
'
import
{
NavLink
,
NavLinkProps
,
useLocation
}
from
'
react-router-dom
'
import
{
NavLink
,
NavLinkProps
,
useLocation
}
from
'
react-router-dom
'
import
{
ChainSelector
}
from
'
./ChainSelector
'
import
{
ChainSelector
}
from
'
./ChainSelector
'
...
@@ -71,9 +72,30 @@ const PageTabs = () => {
...
@@ -71,9 +72,30 @@ const PageTabs = () => {
)
)
}
}
const
useShouldHideNavbar
=
()
=>
{
const
{
pathname
}
=
useLocation
()
const
isMobile
=
useIsMobile
()
const
shouldHideNavbar
=
useMemo
(()
=>
{
const
paths
=
[
'
/nfts/profile
'
]
if
(
!
isMobile
)
return
false
for
(
const
path
of
paths
)
{
if
(
pathname
.
includes
(
path
))
return
true
}
return
false
},
[
isMobile
,
pathname
])
return
shouldHideNavbar
}
const
Navbar
=
()
=>
{
const
Navbar
=
()
=>
{
const
shouldHideNavbar
=
useShouldHideNavbar
()
const
isNftPage
=
useIsNftPage
()
const
isNftPage
=
useIsNftPage
()
if
(
shouldHideNavbar
)
return
null
return
(
return
(
<>
<>
<
nav
className=
{
styles
.
nav
}
>
<
nav
className=
{
styles
.
nav
}
>
...
...
src/components/WalletDropdown/SlideOutMenu.tsx
View file @
da6e1313
import
{
ScrollBarStyles
}
from
'
components/Common
'
import
{
ChevronLeft
}
from
'
react-feather
'
import
{
ChevronLeft
}
from
'
react-feather
'
import
styled
from
'
styled-components/macro
'
import
styled
from
'
styled-components/macro
'
...
@@ -8,22 +9,11 @@ const Menu = styled.div`
...
@@ -8,22 +9,11 @@ const Menu = styled.div`
overflow: auto;
overflow: auto;
max-height: 450px;
max-height: 450px;
// Firefox scrollbar styling
${
ScrollBarStyles
}
scrollbar-width: thin;
scrollbar-color:
${({
theme
})
=>
`
${
theme
.
backgroundOutline
}
transparent`
}
;
// safari and chrome scrollbar styling
::-webkit-scrollbar {
background: transparent;
width: 4px;
}
::-webkit-scrollbar-track {
::-webkit-scrollbar-track {
margin-top: 40px;
margin-top: 40px;
}
}
::-webkit-scrollbar-thumb {
background:
${({
theme
})
=>
theme
.
backgroundOutline
}
;
border-radius: 8px;
}
`
`
const
Header
=
styled
.
span
`
const
Header
=
styled
.
span
`
...
...
src/nft/components/bag/BagRow.css.ts
View file @
da6e1313
...
@@ -115,6 +115,7 @@ export const removeButton = style([
...
@@ -115,6 +115,7 @@ export const removeButton = style([
export
const
bagRowImage
=
sprinkles
({
export
const
bagRowImage
=
sprinkles
({
width
:
'
56
'
,
width
:
'
56
'
,
height
:
'
56
'
,
height
:
'
56
'
,
objectFit
:
'
cover
'
,
borderRadius
:
'
8
'
,
borderRadius
:
'
8
'
,
})
})
...
...
src/nft/components/bag/profile/ListingModal.css.ts
View file @
da6e1313
...
@@ -13,6 +13,7 @@ export const chevron = style([
...
@@ -13,6 +13,7 @@ export const chevron = style([
export
const
chevronDown
=
style
({
export
const
chevronDown
=
style
({
transform
:
'
rotate(180deg)
'
,
transform
:
'
rotate(180deg)
'
,
cursor
:
'
pointer
'
,
})
})
export
const
sectionDivider
=
style
([
export
const
sectionDivider
=
style
([
...
@@ -53,6 +54,7 @@ export const listingModalIcon = style([
...
@@ -53,6 +54,7 @@ export const listingModalIcon = style([
{
{
boxSizing
:
'
border-box
'
,
boxSizing
:
'
border-box
'
,
marginLeft
:
'
-2px
'
,
marginLeft
:
'
-2px
'
,
marginRight
:
'
4px
'
,
},
},
])
])
...
...
src/nft/components/bag/profile/ListingSection.tsx
View file @
da6e1313
...
@@ -110,6 +110,7 @@ export const ListingSection = ({
...
@@ -110,6 +110,7 @@ export const ListingSection = ({
color=
"textPrimary"
color=
"textPrimary"
textOverflow=
"ellipsis"
textOverflow=
"ellipsis"
overflow=
"hidden"
overflow=
"hidden"
whiteSpace=
"nowrap"
maxWidth=
{
{
maxWidth=
{
{
sm
:
'
max
'
,
sm
:
'
max
'
,
md
:
md
:
...
...
src/nft/components/collection/CollectionStats.tsx
View file @
da6e1313
...
@@ -280,7 +280,7 @@ const StatsRow = ({ stats, isMobile, ...props }: { stats: GenieCollection; isMob
...
@@ -280,7 +280,7 @@ const StatsRow = ({ stats, isMobile, ...props }: { stats: GenieCollection; isMob
const
isCollectionStatsLoading
=
useIsCollectionLoading
((
state
)
=>
state
.
isCollectionStatsLoading
)
const
isCollectionStatsLoading
=
useIsCollectionLoading
((
state
)
=>
state
.
isCollectionStatsLoading
)
// round daily volume & floorPrice to 3 decimals or less
// round daily volume & floorPrice to 3 decimals or less
const
totalVolumeStr
=
volumeFormatter
(
stats
.
stats
?.
total_volume
??
0
)
const
totalVolumeStr
=
volumeFormatter
(
Number
(
stats
.
stats
?.
total_volume
)
??
0
)
const
floorPriceStr
=
floorFormatter
(
stats
.
stats
?.
floor_price
??
0
)
const
floorPriceStr
=
floorFormatter
(
stats
.
stats
?.
floor_price
??
0
)
// graphQL formatted %age values out of 100, whereas v3 endpoint did a decimal between 0 & 1
// graphQL formatted %age values out of 100, whereas v3 endpoint did a decimal between 0 & 1
const
floorChangeStr
=
Math
.
round
(
Math
.
abs
(
stats
?.
stats
?.
one_day_floor_change
??
0
))
const
floorChangeStr
=
Math
.
round
(
Math
.
abs
(
stats
?.
stats
?.
one_day_floor_change
??
0
))
...
...
src/nft/components/details/AssetActivity.tsx
View file @
da6e1313
import
{
ScrollBarStyles
}
from
'
components/Common
'
import
{
ActivityEventResponse
}
from
'
nft/types
'
import
{
ActivityEventResponse
}
from
'
nft/types
'
import
{
shortenAddress
}
from
'
nft/utils/address
'
import
{
shortenAddress
}
from
'
nft/utils/address
'
import
{
formatEthPrice
}
from
'
nft/utils/currency
'
import
{
formatEthPrice
}
from
'
nft/utils/currency
'
...
@@ -92,20 +93,7 @@ const ActivityContainer = styled.div`
...
@@ -92,20 +93,7 @@ const ActivityContainer = styled.div`
max-height: 310px;
max-height: 310px;
overflow: auto;
overflow: auto;
// Firefox scrollbar styling
${
ScrollBarStyles
}
scrollbar-width: thin;
scrollbar-color:
${({
theme
})
=>
`
${
theme
.
backgroundOutline
}
transparent`
}
;
// safari and chrome scrollbar styling
::-webkit-scrollbar {
background: transparent;
width: 4px;
}
::-webkit-scrollbar-thumb {
background:
${({
theme
})
=>
theme
.
backgroundOutline
}
;
border-radius: 8px;
}
`
`
const
AssetActivity
=
({
eventsData
}:
{
eventsData
:
ActivityEventResponse
|
undefined
})
=>
{
const
AssetActivity
=
({
eventsData
}:
{
eventsData
:
ActivityEventResponse
|
undefined
})
=>
{
...
...
src/nft/components/details/AssetDetails.tsx
View file @
da6e1313
import
{
ScrollBarStyles
}
from
'
components/Common
'
import
Resource
from
'
components/Tokens/TokenDetails/Resource
'
import
Resource
from
'
components/Tokens/TokenDetails/Resource
'
import
{
MouseoverTooltip
}
from
'
components/Tooltip/index
'
import
{
MouseoverTooltip
}
from
'
components/Tooltip/index
'
import
{
Box
}
from
'
nft/components/Box
'
import
{
Box
}
from
'
nft/components/Box
'
...
@@ -142,23 +143,7 @@ const ActivitySelectContainer = styled.div`
...
@@ -142,23 +143,7 @@ const ActivitySelectContainer = styled.div`
gap: 8px;
gap: 8px;
margin-bottom: 34px;
margin-bottom: 34px;
overflow-x: auto;
overflow-x: auto;
${
ScrollBarStyles
}
// Firefox scrollbar styling
scrollbar-width: thin;
scrollbar-color:
${({
theme
})
=>
`
${
theme
.
backgroundOutline
}
transparent`
}
;
// safari and chrome scrollbar styling
::-webkit-scrollbar {
background: transparent;
height: 4px;
}
::-webkit-scrollbar-track {
margin-top: 40px;
}
::-webkit-scrollbar-thumb {
background:
${({
theme
})
=>
theme
.
backgroundOutline
}
;
border-radius: 8px;
}
@media (max-width: 720px) {
@media (max-width: 720px) {
padding-bottom: 8px;
padding-bottom: 8px;
...
@@ -454,7 +439,7 @@ export const AssetDetails = ({ asset, collection }: AssetDetailsProps) => {
...
@@ -454,7 +439,7 @@ export const AssetDetails = ({ asset, collection }: AssetDetailsProps) => {
secondaryHeader=
{
formattedPrice
?
`Last Sale: ${formattedPrice} ETH`
:
undefined
}
secondaryHeader=
{
formattedPrice
?
`Last Sale: ${formattedPrice} ETH`
:
undefined
}
>
>
<>
<>
<
ActivitySelectContainer
>
<
ActivitySelectContainer
$isHorizontalScroll
>
<
Filter
eventType=
{
ActivityEventType
.
Listing
}
/>
<
Filter
eventType=
{
ActivityEventType
.
Listing
}
/>
<
Filter
eventType=
{
ActivityEventType
.
Sale
}
/>
<
Filter
eventType=
{
ActivityEventType
.
Sale
}
/>
<
Filter
eventType=
{
ActivityEventType
.
Transfer
}
/>
<
Filter
eventType=
{
ActivityEventType
.
Transfer
}
/>
...
...
src/nft/components/profile/view/FilterSidebar.tsx
View file @
da6e1313
import
{
ScrollBarStyles
}
from
'
components/Common
'
import
{
AnimatedBox
,
Box
}
from
'
nft/components/Box
'
import
{
AnimatedBox
,
Box
}
from
'
nft/components/Box
'
import
{
Column
,
Row
}
from
'
nft/components/Flex
'
import
{
Column
,
Row
}
from
'
nft/components/Flex
'
import
{
XMarkIcon
}
from
'
nft/components/icons
'
import
{
XMarkIcon
}
from
'
nft/components/icons
'
...
@@ -9,9 +10,14 @@ import { useFiltersExpanded, useIsMobile, useWalletCollections } from 'nft/hooks
...
@@ -9,9 +10,14 @@ import { useFiltersExpanded, useIsMobile, useWalletCollections } from 'nft/hooks
import
{
WalletCollection
}
from
'
nft/types
'
import
{
WalletCollection
}
from
'
nft/types
'
import
{
Dispatch
,
FormEvent
,
SetStateAction
,
useCallback
,
useEffect
,
useReducer
,
useState
}
from
'
react
'
import
{
Dispatch
,
FormEvent
,
SetStateAction
,
useCallback
,
useEffect
,
useReducer
,
useState
}
from
'
react
'
import
{
useSpring
}
from
'
react-spring
'
import
{
useSpring
}
from
'
react-spring
'
import
styled
from
'
styled-components/macro
'
import
*
as
styles
from
'
./ProfilePage.css
'
import
*
as
styles
from
'
./ProfilePage.css
'
const
ItemsContainer
=
styled
.
div
`
${
ScrollBarStyles
}
`
export
const
FilterSidebar
=
()
=>
{
export
const
FilterSidebar
=
()
=>
{
const
collectionFilters
=
useWalletCollections
((
state
)
=>
state
.
collectionFilters
)
const
collectionFilters
=
useWalletCollections
((
state
)
=>
state
.
collectionFilters
)
const
setCollectionFilters
=
useWalletCollections
((
state
)
=>
state
.
setCollectionFilters
)
const
setCollectionFilters
=
useWalletCollections
((
state
)
=>
state
.
setCollectionFilters
)
...
@@ -30,7 +36,7 @@ export const FilterSidebar = () => {
...
@@ -30,7 +36,7 @@ export const FilterSidebar = () => {
position=
{
{
sm
:
'
fixed
'
,
md
:
'
sticky
'
}
}
position=
{
{
sm
:
'
fixed
'
,
md
:
'
sticky
'
}
}
top=
{
{
sm
:
'
40
'
,
md
:
'
unset
'
}
}
top=
{
{
sm
:
'
40
'
,
md
:
'
unset
'
}
}
left=
{
{
sm
:
'
0
'
,
md
:
'
unset
'
}
}
left=
{
{
sm
:
'
0
'
,
md
:
'
unset
'
}
}
width=
{
{
sm
:
'
full
'
,
md
:
'
auto
'
}
}
width=
{
{
sm
:
'
full
'
,
md
:
'
332
'
,
lg
:
'
332
'
}
}
height=
{
{
sm
:
'
full
'
,
md
:
'
auto
'
}
}
height=
{
{
sm
:
'
full
'
,
md
:
'
auto
'
}
}
zIndex=
{
{
sm
:
'
3
'
,
md
:
'
auto
'
}
}
zIndex=
{
{
sm
:
'
3
'
,
md
:
'
auto
'
}
}
display=
{
isFiltersExpanded
?
'
flex
'
:
'
none
'
}
display=
{
isFiltersExpanded
?
'
flex
'
:
'
none
'
}
...
@@ -40,7 +46,7 @@ export const FilterSidebar = () => {
...
@@ -40,7 +46,7 @@ export const FilterSidebar = () => {
paddingTop=
{
{
sm
:
'
24
'
,
md
:
'
0
'
}
}
paddingTop=
{
{
sm
:
'
24
'
,
md
:
'
0
'
}
}
paddingLeft=
{
{
sm
:
'
16
'
,
md
:
'
0
'
}
}
paddingLeft=
{
{
sm
:
'
16
'
,
md
:
'
0
'
}
}
paddingRight=
"16"
paddingRight=
"16"
width=
{
{
sm
:
'
full
'
,
md
:
'
auto
'
}
}
width=
{
{
sm
:
'
full
'
,
md
:
'
332
'
,
lg
:
'
332
'
}
}
>
>
<
Row
width=
"full"
justifyContent=
"space-between"
>
<
Row
width=
"full"
justifyContent=
"space-between"
>
{
isMobile
&&
(
{
isMobile
&&
(
...
@@ -99,16 +105,18 @@ const CollectionSelect = ({
...
@@ -99,16 +105,18 @@ const CollectionSelect = ({
collectionSearchText=
{
collectionSearchText
}
collectionSearchText=
{
collectionSearchText
}
setCollectionSearchText=
{
setCollectionSearchText
}
setCollectionSearchText=
{
setCollectionSearchText
}
/>
/>
<
Box
paddingBottom=
"8"
overflowY=
"scroll"
style=
{
{
scrollbarWidth
:
'
none
'
}
}
>
<
ItemsContainer
>
{
displayCollections
?.
map
((
collection
,
index
)
=>
(
<
Box
paddingBottom=
"8"
style=
{
{
scrollbarWidth
:
'
none
'
}
}
>
<
CollectionItem
{
displayCollections
?.
map
((
collection
)
=>
(
key=
{
index
}
<
CollectionItem
collection=
{
collection
}
key=
{
collection
.
address
}
collectionFilters=
{
collectionFilters
}
collection=
{
collection
}
setCollectionFilters=
{
setCollectionFilters
}
collectionFilters=
{
collectionFilters
}
/>
setCollectionFilters=
{
setCollectionFilters
}
))
}
/>
</
Box
>
))
}
</
Box
>
</
ItemsContainer
>
</
Column
>
</
Column
>
</
Box
>
</
Box
>
</>
</>
...
...
src/nft/components/profile/view/ProfilePage.tsx
View file @
da6e1313
...
@@ -29,7 +29,6 @@ import styled from 'styled-components/macro'
...
@@ -29,7 +29,6 @@ import styled from 'styled-components/macro'
import
shallow
from
'
zustand/shallow
'
import
shallow
from
'
zustand/shallow
'
import
{
EmptyWalletContent
}
from
'
./EmptyWalletContent
'
import
{
EmptyWalletContent
}
from
'
./EmptyWalletContent
'
import
{
ProfileAccountDetails
}
from
'
./ProfileAccountDetails
'
import
*
as
styles
from
'
./ProfilePage.css
'
import
*
as
styles
from
'
./ProfilePage.css
'
import
{
WalletAssetDisplay
}
from
'
./WalletAssetDisplay
'
import
{
WalletAssetDisplay
}
from
'
./WalletAssetDisplay
'
...
@@ -52,7 +51,6 @@ const SellModeButton = styled.button<{ active: boolean }>`
...
@@ -52,7 +51,6 @@ const SellModeButton = styled.button<{ active: boolean }>`
`
`
const
ProfilePageColumn
=
styled
(
Column
)
`
const
ProfilePageColumn
=
styled
(
Column
)
`
overflow-x: hidden !important;
${
ScreenBreakpointsPaddings
}
${
ScreenBreakpointsPaddings
}
`
`
...
@@ -115,12 +113,11 @@ export const ProfilePage = () => {
...
@@ -115,12 +113,11 @@ export const ProfilePage = () => {
{
ownerAssets
?.
length
===
0
?
(
{
ownerAssets
?.
length
===
0
?
(
<
EmptyWalletContent
/>
<
EmptyWalletContent
/>
)
:
(
)
:
(
<
Row
alignItems=
"flex-start"
position=
"relative"
>
<
Row
alignItems=
"flex-start"
position=
"relative"
paddingX=
"20"
>
<
FilterSidebar
/>
<
FilterSidebar
/>
{
(
!
isMobile
||
!
isFiltersExpanded
)
&&
(
{
(
!
isMobile
||
!
isFiltersExpanded
)
&&
(
<
Column
width=
"full"
>
<
Column
width=
"full"
>
<
ProfileAccountDetails
/>
<
AnimatedBox
<
AnimatedBox
flexShrink=
"0"
flexShrink=
"0"
style=
{
{
style=
{
{
...
@@ -129,6 +126,7 @@ export const ProfilePage = () => {
...
@@ -129,6 +126,7 @@ export const ProfilePage = () => {
`translate(${Number(x) - (!isMobile && isFiltersExpanded ? FILTER_SIDEBAR_WIDTH : -PADDING)}px)`
`translate(${Number(x) - (!isMobile && isFiltersExpanded ? FILTER_SIDEBAR_WIDTH : -PADDING)}px)`
),
),
}
}
}
}
paddingY=
"20"
>
>
<
Row
gap=
"8"
flexWrap=
"nowrap"
justifyContent=
"space-between"
>
<
Row
gap=
"8"
flexWrap=
"nowrap"
justifyContent=
"space-between"
>
<
FilterButton
<
FilterButton
...
@@ -275,7 +273,7 @@ const CollectionFiltersRow = ({
...
@@ -275,7 +273,7 @@ const CollectionFiltersRow = ({
return
collections
?.
find
((
collection
)
=>
collection
.
address
===
collectionAddress
)
return
collections
?.
find
((
collection
)
=>
collection
.
address
===
collectionAddress
)
}
}
return
(
return
(
<
Row
padding
Top
=
"18"
gap=
"8"
flexWrap=
"wrap"
>
<
Row
padding
Y
=
"18"
gap=
"8"
flexWrap=
"wrap"
>
{
collectionFilters
&&
{
collectionFilters
&&
collectionFilters
.
map
((
collectionAddress
,
index
)
=>
(
collectionFilters
.
map
((
collectionAddress
,
index
)
=>
(
<
CollectionFilterItem
<
CollectionFilterItem
...
...
src/nft/components/profile/view/WalletAssetDisplay.tsx
View file @
da6e1313
...
@@ -58,8 +58,7 @@ export const WalletAssetDisplay = ({ asset, isSellMode }: { asset: WalletAsset;
...
@@ -58,8 +58,7 @@ export const WalletAssetDisplay = ({ asset, isSellMode }: { asset: WalletAsset;
return
(
return
(
<
Link
to=
{
getAssetHref
(
asset
,
DetailsOrigin
.
PROFILE
)
}
style=
{
{
textDecoration
:
'
none
'
}
}
>
<
Link
to=
{
getAssetHref
(
asset
,
DetailsOrigin
.
PROFILE
)
}
style=
{
{
textDecoration
:
'
none
'
}
}
>
<
Column
<
Column
borderBottomLeftRadius=
"20"
borderRadius=
"20"
borderBottomRightRadius=
"20"
paddingBottom=
"20"
paddingBottom=
"20"
transition=
"250"
transition=
"250"
backgroundColor=
{
boxHovered
?
'
backgroundOutline
'
:
'
backgroundSurface
'
}
backgroundColor=
{
boxHovered
?
'
backgroundOutline
'
:
'
backgroundSurface
'
}
...
...
src/nft/pages/profile/sell.css.ts
View file @
da6e1313
...
@@ -22,7 +22,6 @@ export const mobileSellWrapper = style([
...
@@ -22,7 +22,6 @@ export const mobileSellWrapper = style([
zIndex
:
{
sm
:
'
3
'
,
md
:
'
auto
'
},
zIndex
:
{
sm
:
'
3
'
,
md
:
'
auto
'
},
height
:
{
sm
:
'
full
'
,
md
:
'
auto
'
},
height
:
{
sm
:
'
full
'
,
md
:
'
auto
'
},
width
:
'
full
'
,
width
:
'
full
'
,
overflowY
:
'
scroll
'
,
}),
}),
{
{
scrollbarWidth
:
'
none
'
,
scrollbarWidth
:
'
none
'
,
...
...
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