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
03fe90ad
Unverified
Commit
03fe90ad
authored
Sep 29, 2022
by
Jack Short
Committed by
GitHub
Sep 29, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: updating pool tooltip (#4756)
* chore: updating pool tooltip * updating to bodySmall
parent
1601962f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
Card.tsx
src/nft/components/collection/Card.tsx
+8
-4
No files found.
src/nft/components/collection/Card.tsx
View file @
03fe90ad
...
@@ -12,7 +12,7 @@ import {
...
@@ -12,7 +12,7 @@ import {
RarityVerifiedIcon
,
RarityVerifiedIcon
,
SuspiciousIcon20
,
SuspiciousIcon20
,
}
from
'
nft/components/icons
'
}
from
'
nft/components/icons
'
import
{
body
,
subheadSmall
}
from
'
nft/css/common.css
'
import
{
body
,
bodySmall
,
subheadSmall
}
from
'
nft/css/common.css
'
import
{
themeVars
}
from
'
nft/css/sprinkles.css
'
import
{
themeVars
}
from
'
nft/css/sprinkles.css
'
import
{
useIsMobile
}
from
'
nft/hooks
'
import
{
useIsMobile
}
from
'
nft/hooks
'
import
{
GenieAsset
,
Rarity
,
UniformHeight
,
UniformHeights
}
from
'
nft/types
'
import
{
GenieAsset
,
Rarity
,
UniformHeight
,
UniformHeights
}
from
'
nft/types
'
...
@@ -551,7 +551,7 @@ const Ranking = ({ rarity, provider, rarityVerified, rarityLogo }: RankingProps)
...
@@ -551,7 +551,7 @@ const Ranking = ({ rarity, provider, rarityVerified, rarityLogo }: RankingProps)
<
Box
display=
"flex"
marginRight=
"4"
>
<
Box
display=
"flex"
marginRight=
"4"
>
<
img
src=
{
rarityLogo
}
alt=
"cardLogo"
width=
{
16
}
/>
<
img
src=
{
rarityLogo
}
alt=
"cardLogo"
width=
{
16
}
/>
</
Box
>
</
Box
>
<
Box
width=
"full"
fontSize=
"14"
>
<
Box
width=
"full"
className=
{
bodySmall
}
>
{
rarityVerified
{
rarityVerified
?
`Verified by ${asset.collectionName}`
?
`Verified by ${asset.collectionName}`
:
`Ranking by ${rarity.primaryProvider === 'Genie' ? fallbackProvider : rarity.primaryProvider}`
}
:
`Ranking by ${rarity.primaryProvider === 'Genie' ? fallbackProvider : rarity.primaryProvider}`
}
...
@@ -577,7 +577,7 @@ const Suspicious = () => {
...
@@ -577,7 +577,7 @@ const Suspicious = () => {
return
(
return
(
<
MouseoverTooltip
<
MouseoverTooltip
text=
{
text=
{
<
Box
fontSize=
"14"
>
<
Box
className=
{
bodySmall
}
>
Reported for suspicious activity
Reported for suspicious activity
<
br
/>
<
br
/>
on Opensea
on Opensea
...
@@ -595,7 +595,11 @@ const Suspicious = () => {
...
@@ -595,7 +595,11 @@ const Suspicious = () => {
const
Pool
=
()
=>
{
const
Pool
=
()
=>
{
return
(
return
(
<
MouseoverTooltip
<
MouseoverTooltip
text=
{
<
Box
fontSize=
"14"
>
This item is part of an NFT liquidity pool. Price increases as supply decreases.
</
Box
>
}
text=
{
<
Box
className=
{
bodySmall
}
>
This NFT is part of a liquidity pool. Buying this will increase the price of the remaining pooled NFTs.
</
Box
>
}
placement=
"top"
placement=
"top"
>
>
<
Box
display=
"flex"
flexShrink=
"0"
marginLeft=
"4"
color=
"textSecondary"
>
<
Box
display=
"flex"
flexShrink=
"0"
marginLeft=
"4"
color=
"textSecondary"
>
...
...
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