From 5ea76b31355540e396052352859b7cf5e82cd72a Mon Sep 17 00:00:00 2001 From: steskelt Date: Tue, 19 Mar 2024 13:15:36 -0400 Subject: [PATCH] mobile viewport --- _pages/rankings.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/_pages/rankings.html b/_pages/rankings.html index b9a806b..2f1b0f5 100644 --- a/_pages/rankings.html +++ b/_pages/rankings.html @@ -183,10 +183,11 @@

Influencer Rankings

if (screen.availWidth < 800) { const height = 50; + const pieChart = (ratedPercent == 0) ? null : html``; return html`
  • - +
    ${this.profileTitle(item)}
    ${this.profileMeta(item.meta)} @@ -198,7 +199,7 @@
    ${this.profileTitle(item)}
    ${tradeCount} Trade${tradeCount == 1 ? '' : 's'}
    ${ratedPercent == 0 ? 'Zero Rated' : (ratedPercent == 100 ? 'All Rated' : (100 - ratedPercent) + '% Unrated')}
    - + ${pieChart}
    ${item.stocks.map(