mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-11 16:26:20 +00:00
switch to a + when showing size growth
This commit is contained in:
@@ -110,7 +110,7 @@ export default class Results extends Component<Props, State> {
|
|||||||
<div class={style.percentOutput}>
|
<div class={style.percentOutput}>
|
||||||
{diff && diff !== 1 && (
|
{diff && diff !== 1 && (
|
||||||
<span class={style.sizeDirection}>
|
<span class={style.sizeDirection}>
|
||||||
{diff < 1 ? '↓' : '↑'}
|
{diff < 1 ? '↓' : '+'}
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
<span class={style.sizeValue}>{percent || 0}</span>
|
<span class={style.sizeValue}>{percent || 0}</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user