diff --git a/src/App.css b/src/App.css index 39314609..e9b61ab7 100644 --- a/src/App.css +++ b/src/App.css @@ -4,6 +4,13 @@ @import './assets/editor.css'; +/* Fixed next/image bug, source: https://nextjs.org/docs/api-reference/next/image */ +@supports (font: -apple-system-body) and (-webkit-appearance: none) { + img[loading='lazy'] { + clip-path: inset(0.6px); + } +} + /* For Webkit-based browsers (Chrome, Safari and Opera) */ .scrollbar-hide::-webkit-scrollbar { display: none; diff --git a/src/components/imageWithFallback.tsx b/src/components/imageWithFallback.tsx index 97831cc3..eebf871f 100644 --- a/src/components/imageWithFallback.tsx +++ b/src/components/imageWithFallback.tsx @@ -31,12 +31,14 @@ export const ImageWithFallback = memo(function ImageWithFallback({ /> ) : ( {alt} )}