Skip to content

Commit

Permalink
Set image-rendering for 516 (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
tigercat2000 authored Dec 21, 2024
1 parent a211bf0 commit 6c9bbf4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/components/Image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export function Image(props: Props) {
computedProps.style = {
...computedProps.style,
'-ms-interpolation-mode': fixBlur ? 'nearest-neighbor' : 'auto',
imageRendering: fixBlur ? 'pixelated' : 'auto',
objectFit,
};

Expand Down

0 comments on commit 6c9bbf4

Please sign in to comment.