fix: qty sizing
This commit is contained in:
parent
46cff307b1
commit
0cb5cdbe1f
|
@ -36,7 +36,7 @@ export default function Slot({
|
|||
{qty > 1 && (
|
||||
<span
|
||||
className={
|
||||
[styles.qty, `q-${Math.round(Math.log10(qty))}`]
|
||||
[styles.qty, `q-${Math.floor(Math.log10(qty))}`]
|
||||
.filter(Boolean).join(' ')
|
||||
}
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue
Block a user