+
{ currencies && currencies.entrySeq().map(([ key, value ]) =>
{
+ if(displayedCurrencies.indexOf(parseInt(key)) === -1) return null;
+
return
}) }
diff --git a/src/views/purse/currency/CurrencyView.scss b/src/views/purse/currency/CurrencyView.scss
index 796a402a..d011dda4 100644
--- a/src/views/purse/currency/CurrencyView.scss
+++ b/src/views/purse/currency/CurrencyView.scss
@@ -1,31 +1,9 @@
-.purse-item {
+.nitro-purse-item {
flex: 46%;
- margin-bottom: 3px;
- padding: 0.23rem;
margin-right: 3px;
&:nth-child(2n),
&:last-child {
margin-right: 0;
}
-
- .item-value {
- font-size: $font-size-sm;
- padding: 2px 5px;
- }
-
- .item-icon {
- position: relative;
- width: 25px;
- height: 25px;
- border-radius: $card-border-radius;
-
- .currency-icon {
- position: absolute;
- background-position: center;
- background-repeat: no-repeat;
- width: 100%;
- height: 100%;
- }
- }
}
diff --git a/src/views/purse/currency/CurrencyView.tsx b/src/views/purse/currency/CurrencyView.tsx
index 04c6a310..98ff77ef 100644
--- a/src/views/purse/currency/CurrencyView.tsx
+++ b/src/views/purse/currency/CurrencyView.tsx
@@ -1,3 +1,4 @@
+import { CurrencyIcon } from '../../../utils/currency-icon/CurrencyIcon';
import { CurrencyViewProps } from './CurrencyView.types';
export function CurrencyView(props: CurrencyViewProps): JSX.Element
@@ -5,9 +6,9 @@ export function CurrencyView(props: CurrencyViewProps): JSX.Element
const { type = -1, amount = 0 } = props;
return (
-
-
{ amount }
-
{ type }
+
);
}
diff --git a/src/views/right-side/RightSideView.scss b/src/views/right-side/RightSideView.scss
index 74d6bd35..770354f1 100644
--- a/src/views/right-side/RightSideView.scss
+++ b/src/views/right-side/RightSideView.scss
@@ -2,5 +2,6 @@
position: absolute;
top: 10px;
right: 10px;
+ width: 200px;
z-index: $rightside-zindex;
}