Skip to content

Commit

Permalink
adjust coloring
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Schiessl <stefan.schiessl@blockchainprojectsbv.com>
  • Loading branch information
Stefan Schiessl authored and gades committed Aug 3, 2019
1 parent 97da408 commit 729189a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/components/Blockchain/Asset.jsx
Expand Up @@ -1505,11 +1505,11 @@ class Asset extends React.Component {
{this.formattedPrice(item, true)}(
<span
className={
Math.abs(median_offset) > 10
? "txtlabel alert"
: Math.abs(median_offset) > 5
median_offset > 0
? "txtlabel success"
: median_offset < 0
? "txtlabel warning"
: "txtlabel success"
: "txtlabel"
}
>
{median_offset}%
Expand Down

0 comments on commit 729189a

Please sign in to comment.