From e6cffdd8e2b5574afcd859fbfd647671d7c1a33f Mon Sep 17 00:00:00 2001 From: Index Date: Wed, 3 Jul 2024 00:49:38 -0500 Subject: [PATCH] style: make "Free" avatar sandbox text bold like store --- js/account/avatar-sandbox-rewrite.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/account/avatar-sandbox-rewrite.js b/js/account/avatar-sandbox-rewrite.js index 0b23822..8f360a6 100644 --- a/js/account/avatar-sandbox-rewrite.js +++ b/js/account/avatar-sandbox-rewrite.js @@ -474,7 +474,7 @@ async function LoadItems() { by ${ (item.type !== 'hat' && item.type !== 'tool') ? 'Polytoria' : item.creator.name } Free' : (item.price !== "???") ? 'text-success">$ ' + item.price : 'text-muted">???' } + ${ (item.price === 0) ? 'text-primary fw-bold">Free' : (item.price !== "???") ? 'text-success">$ ' + item.price : 'text-muted">???' } ` @@ -547,7 +547,7 @@ function LoadWearing() { by ${Cached.creator.name || "-"} Free' : (Cached.price !== "???") ? 'text-success">$ ' + Cached.price : 'text-muted">???' } + ${ (Cached.price === 0) ? 'text-primary fw-bold">Free' : (Cached.price !== "???") ? 'text-success">$ ' + Cached.price : 'text-muted">???' } `