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 48f7c3d commit ab73239
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions _pages/rankings.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,10 @@ <h1 class="display-6 fw-bold text-center">Influencer Rankings</h1>
}

profileTypeImage(influencer, isMini) {
const style = isMini ? 'style="width:30px;margin-left:10px;"' : '';
if (influencer.meta.type == "twitter" || influencer.meta.type == "x") return html`<img src="/assets/integrations/x.svg" ${style}>`;
if (influencer.meta.type == "youtube") return html`<img src="/assets/integrations/youtube.svg" ${style}>`;
if (influencer.meta.type == "web" || influencer.meta.type == "url") return html`<img src="/assets/integrations/webpages.svg" ${style}>`;
const style = isMini ? 'width:30px;margin-left:10px;' : '';
if (influencer.meta.type == "twitter" || influencer.meta.type == "x") return html`<img src="/assets/integrations/x.svg" style=${style}>`;
if (influencer.meta.type == "youtube") return html`<img src="/assets/integrations/youtube.svg" style=${style}>`;
if (influencer.meta.type == "web" || influencer.meta.type == "url") return html`<img src="/assets/integrations/webpages.svg" style=${style}>`;
return html``;
}

Expand Down

0 comments on commit ab73239

Please sign in to comment.