Skip to content

Commit

Permalink
[not verified] [Boost] Don't show <1x on images that are exactly the …
Browse files Browse the repository at this point in the history
…right size (#28245)

* Mark exact-sized images with a check mark

* changelog

Co-authored-by: Mark George <thingalon@gmail.com>
  • Loading branch information
2 people authored and n3f committed Jan 11, 2023
1 parent bb2cead commit 4009345
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<div class="label" in:fade={{ delay: 200, duration: 300 }}>
{#if $oversizedRatio > 9}
{Math.floor( $oversizedRatio )}x
{:else if $oversizedRatio > 1}
{:else if $oversizedRatio > 0.99}
{#if severity === 'normal'}
<Checkmark />
{:else}
Expand Down
4 changes: 4 additions & 0 deletions projects/plugins/boost/changelog/fix-image-guide-1x
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fixed

Don't show <1x on images that are exactly the right size

0 comments on commit 4009345

Please sign in to comment.