diff options
Diffstat (limited to 'packages/bank-ui/src/pages/admin/AdminHome.tsx')
-rw-r--r-- | packages/bank-ui/src/pages/admin/AdminHome.tsx | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/packages/bank-ui/src/pages/admin/AdminHome.tsx b/packages/bank-ui/src/pages/admin/AdminHome.tsx index b8b28f8a0..613f5c1ef 100644 --- a/packages/bank-ui/src/pages/admin/AdminHome.tsx +++ b/packages/bank-ui/src/pages/admin/AdminHome.tsx @@ -80,7 +80,6 @@ export function AdminHome({ routeHere={routeCreateWireTransfer} onAuthorizationRequired={onAuthorizationRequired} /> - <Transactions account="admin" routeCreateWireTransfer={routeCreateWireTransfer} @@ -195,7 +194,15 @@ function Metrics({ return <Fragment />; } return ( - <Fragment> + <div class="px-4 mt-4"> + <div class="sm:flex sm:items-center mb-4"> + <div class="sm:flex-auto"> + <h1 class="text-base font-semibold leading-6 text-gray-900"> + <i18n.Translate>Transaction volume report</i18n.Translate> + </h1> + </div> + </div> + <div class="sm:hidden"> <label for="tabs" class="sr-only"> <i18n.Translate>Select a section</i18n.Translate> @@ -342,7 +349,7 @@ function Metrics({ </div> <div class="w-full flex justify-between"> - <h1 class="text-base font-semibold leading-7 text-gray-900 mt-5"> + <h1 class="text-base text-gray-900 mt-5"> {i18n.str`Trading volume on ${getDateForTimeframe( params.current, metricType, @@ -423,7 +430,7 @@ function Metrics({ /> </div> </dl> - <div class="flex justify-end mt-2"> + <div class="flex justify-end mt-4"> <a href={routeDownloadStats.url({})} name="download stats" @@ -432,7 +439,7 @@ function Metrics({ <i18n.Translate>Download stats as CSV</i18n.Translate> </a> </div> - </Fragment> + </div> ); } |