diff --git a/src/v2/assets/icons/bicycle.svg b/src/v2/assets/icons/bicycle.svg
index 772afbea..36fb16a2 100644
--- a/src/v2/assets/icons/bicycle.svg
+++ b/src/v2/assets/icons/bicycle.svg
@@ -1,3 +1,3 @@
diff --git a/src/v2/components/Dashboard/NetworkOverview/NodesMap/index.jsx b/src/v2/components/Dashboard/NetworkOverview/NodesMap/index.jsx
index 64fab9ea..7aeee97e 100644
--- a/src/v2/components/Dashboard/NetworkOverview/NodesMap/index.jsx
+++ b/src/v2/components/Dashboard/NetworkOverview/NodesMap/index.jsx
@@ -42,6 +42,7 @@ const NodesMap = () => {
},
style: {
width: '100%',
+ height: 'auto',
},
center: [0, 20],
};
diff --git a/src/v2/components/Dashboard/NetworkOverview/styles.js b/src/v2/components/Dashboard/NetworkOverview/styles.js
index b3b2ec36..958a5bbc 100644
--- a/src/v2/components/Dashboard/NetworkOverview/styles.js
+++ b/src/v2/components/Dashboard/NetworkOverview/styles.js
@@ -12,7 +12,7 @@ export default makeStyles(theme => ({
},
card: {
height: 306,
- '& > svg': {
+ '& svg': {
width: '100%',
height: 295,
minHeight: 290,
diff --git a/src/v2/components/NavBar/assets/tour-de-sol.svg b/src/v2/components/NavBar/assets/tourdesol.svg
similarity index 100%
rename from src/v2/components/NavBar/assets/tour-de-sol.svg
rename to src/v2/components/NavBar/assets/tourdesol.svg
diff --git a/src/v2/components/NavBar/index.jsx b/src/v2/components/NavBar/index.jsx
index 7d27ef87..505088c9 100644
--- a/src/v2/components/NavBar/index.jsx
+++ b/src/v2/components/NavBar/index.jsx
@@ -20,7 +20,7 @@ import EndpointSelector from '../EndpointSelector';
import {ReactComponent as dashboard} from './assets/dashboard.svg';
import {ReactComponent as transactions} from './assets/transactions.svg';
import {ReactComponent as validators} from './assets/validators.svg';
-import {ReactComponent as tourDeSol} from './assets/tour-de-sol.svg';
+import {ReactComponent as tourdesol} from './assets/tourdesol.svg';
import {ReactComponent as applications} from './assets/applications.svg';
import {ReactComponent as blocks} from './assets/blocks.svg';
import {ReactComponent as favorites} from './assets/favorites.svg';
@@ -30,7 +30,7 @@ const icons = {
dashboard,
transactions,
validators,
- 'tour-de-sol': tourDeSol,
+ tourdesol,
applications,
blocks,
favorites,
@@ -40,7 +40,7 @@ const navTracks = {
dashboard: 'Clicked Overview',
transactions: 'Clicked Transactions Page',
validators: 'Clicked Validators Page',
- 'tour-de-sol': 'Clicked TDS Page',
+ tourdesol: 'Clicked TDS Page',
applications: 'Clicked Applications page',
blocks: 'Clicked Blocks page',
favorites: 'Clicked Favorites page',
@@ -69,6 +69,8 @@ const NavBar = ({
},
{
link: 'tour-de-sol',
+ icon: 'tourdesol',
+ title: 'tour de sol',
},
{
link: 'transactions',
@@ -87,8 +89,8 @@ const NavBar = ({
disabled: true,
},
];
- const renderLink = ({link, disabled}: {link: string, disabled?: boolean}) => {
- const Icon = icons[link];
+ const renderLink = ({link, title, icon, disabled}: {link: string, title: string, icon: string, disabled?: boolean}) => {
+ const Icon = icons[icon || link];
const isDashboard = eq('dashboard', link);
const selected =
location.pathname.includes(link) ||
@@ -113,7 +115,7 @@ const NavBar = ({