Skip to content

Commit

Permalink
mobile viewport
Browse files Browse the repository at this point in the history
  • Loading branch information
steskelt committed Mar 19, 2024
1 parent 1156196 commit 9351112
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions _pages/rankings.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ <h1 class="display-6 fw-bold text-center">Influencer Rankings</h1>

profileLink(influencer) {
if (influencer.meta.type == "twitter" || influencer.meta.type == "x") {
return html`<a style="all:unset;cursor: pointer;display:flex;" href="https://twitter.com/${influencer.meta.twitterName}" target="_blank" title="Open @${influencer.meta.twitterName} on Twitter">`;
//style="all:unset;cursor: pointer;display:flex;"
return html`<a href="https://twitter.com/${influencer.meta.twitterName}" target="_blank" title="Open @${influencer.meta.twitterName} on Twitter">`;
}
return null;
}
Expand Down Expand Up @@ -205,10 +206,6 @@ <h5 class="card-title">${this.profileTitle(item)}</h5>
<img src="https://tradeaudit.app/assets/finance.svg" class="showchart" width="60" height="60" alt="Open user conversation chart">
</a>` : html`<div style="width:60px"></div>`
}
<div>
<pie-chart size="${height}" positive="${positivePercent}" negative="${negativePercent}"></pie-chart>
${ratedPercent == 0 ? 'Zero Rated' : (ratedPercent == 100 ? 'All Rated' : (100 - ratedPercent) + '% Unrated')}
</div>
</div>
<div>
${a}${this.profileTypeImage(item)}${a != null ? html`</a>` : null}
Expand All @@ -225,6 +222,10 @@ <h5 class="card-title">${this.profileTitle(item)}</h5>
}
)}
</div>
<div>
<pie-chart size="${height}" positive="${positivePercent}" negative="${negativePercent}"></pie-chart>
${ratedPercent == 0 ? 'Zero Rated' : (ratedPercent == 100 ? 'All Rated' : (100 - ratedPercent) + '% Unrated')}
</div>
</div>
</li>`
} else {
Expand Down

0 comments on commit 9351112

Please sign in to comment.