diff --git a/src/apps/customer-portal/src/lib/services/statistics.service.ts b/src/apps/customer-portal/src/lib/services/statistics.service.ts index 3dbabc006..e15a59c15 100644 --- a/src/apps/customer-portal/src/lib/services/statistics.service.ts +++ b/src/apps/customer-portal/src/lib/services/statistics.service.ts @@ -157,11 +157,6 @@ function normalizeCountryRows( return } - if (row['country.country_name'] === 'Taiwan') { - console.log('here', row) - - } - const code = toAlpha2CountryCode(lookup.countryCode) const current = countries.get(code) const topWinners = (row.topWinners || []) diff --git a/src/apps/customer-portal/src/pages/statistics/StatisticsPage/StatisticsPage.module.scss b/src/apps/customer-portal/src/pages/statistics/StatisticsPage/StatisticsPage.module.scss index 9c9b47fea..087ba9099 100644 --- a/src/apps/customer-portal/src/pages/statistics/StatisticsPage/StatisticsPage.module.scss +++ b/src/apps/customer-portal/src/pages/statistics/StatisticsPage/StatisticsPage.module.scss @@ -296,6 +296,12 @@ } } + :global(.highcharts-tooltip) { + position: fixed !important; + transform: none !important; + z-index: 20; + } + &:fullscreen { height: 100vh; min-height: 100vh; @@ -306,6 +312,12 @@ height: 100vh !important; } } + + @include ltesm { + :global(.highcharts-legend-item text) { + font-size: 10px !important; + } + } } .mapFullscreenButton { @@ -367,6 +379,9 @@ top: 100%; transform: translateX(-50%); width: 0; + @include ltemd { + display: none; + } } } diff --git a/src/apps/customer-portal/src/pages/statistics/StatisticsPage/StatisticsPage.tsx b/src/apps/customer-portal/src/pages/statistics/StatisticsPage/StatisticsPage.tsx index 8e9b901e8..e02db6ffe 100644 --- a/src/apps/customer-portal/src/pages/statistics/StatisticsPage/StatisticsPage.tsx +++ b/src/apps/customer-portal/src/pages/statistics/StatisticsPage/StatisticsPage.tsx @@ -237,7 +237,7 @@ const StatisticsPage: FC = () => { -
+
{country.code && (