diff --git a/src/pages/dashboard/BlockDifficultyCard.tsx b/src/pages/dashboard/BlockDifficultyCard.tsx index 5c829f2..61922e3 100644 --- a/src/pages/dashboard/BlockDifficultyCard.tsx +++ b/src/pages/dashboard/BlockDifficultyCard.tsx @@ -202,7 +202,7 @@ if (!work || !workOverTime) return null; return - + {/* Current work */} @@ -230,7 +230,7 @@ {/* Work over time chart */} - {chart()} + {chart()} ; } diff --git a/src/pages/dashboard/DashboardPage.less b/src/pages/dashboard/DashboardPage.less index 72ed7ab..b612bd5 100644 --- a/src/pages/dashboard/DashboardPage.less +++ b/src/pages/dashboard/DashboardPage.less @@ -37,7 +37,7 @@ &.empty .ant-card-body { height: 100%; - padding-top: 0 !important; + padding-top: 0; padding: 0; display: flex; @@ -61,6 +61,10 @@ .anticon { font-size: 48px; } } } + + @media (max-width: @screen-lg) { + padding: @margin-md 0; + } } } } @@ -244,6 +248,10 @@ width: 100%; margin-top: @margin-sm; + + @media (max-width: @screen-md) { + margin-bottom: @margin-sm; + } } } } diff --git a/src/utils/currency.ts b/src/utils/currency.ts index e03b1e2..11e8757 100644 --- a/src/utils/currency.ts +++ b/src/utils/currency.ts @@ -1,4 +1,3 @@ -/* eslint-disable eol-last */ // Copyright (c) 2020-2021 Drew Lemmy // This file is part of KristWeb 2 under GPL-3.0. // Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt