Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

Commit

Permalink
tile fix css
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenzo committed Jun 3, 2019
1 parent 43e6a78 commit 054e134
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
9 changes: 6 additions & 3 deletions src/views/Profile/FeedTile.jsx
Expand Up @@ -108,7 +108,7 @@ export const FeedTileInternal = ({ item, name, onOtherProfilePage, metaDataName,
&& (
<div className={`feed__activity__context__network feed__activity__data__icon ${networkArray[Math.floor(Math.random() * networkArray.length)]}`}>
0x
</div>
</div>
)
}

Expand Down Expand Up @@ -197,18 +197,21 @@ export const FeedTileToken = ({ item, name, onOtherProfilePage, metaDataName, is
? <img src={`/contractIcons/${tokenToData[item.tokenSymbol].logo}`} alt="token icon" className="feed__activity__data__icon" />
: <img src={Tokens} alt="Token Transaction Icon" className="feed__activity__data__icon" />
}

{
(item.value === '0' && contractImg)
&& <img src={contractImg} alt="token icon" className="feed__activity__data__icon" />
}

{
(item.value === '0' && !contractImg)
(item.value === '0' && !contractImg && !tokenToData[item.tokenSymbol])
&& (
<div className={`feed__activity__context__network feed__activity__data__icon ${networkArray[Math.floor(Math.random() * networkArray.length)]}`}>
0x
</div>
</div>
)
}

<p className="feed__activity__text">
<span className="feed__activity__info__key">
{(onOtherProfilePage && item.value === '0') && (isFromProfile
Expand Down
3 changes: 2 additions & 1 deletion src/views/Profile/styles/Feed.css
Expand Up @@ -331,7 +331,8 @@
margin-bottom: .2em;
color: #1168df; }
.feed__activity__header p {
color: #747677; }
color: #747677;
padding-top: 3px; }

.feed__activity__text {
width: 96%; }
Expand Down
1 change: 1 addition & 0 deletions src/views/Profile/styles/Feed.scss
Expand Up @@ -410,6 +410,7 @@

p {
color: $lighterFont;
padding-top: 3px;
}
}

Expand Down

0 comments on commit 054e134

Please sign in to comment.