Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

fix: update image css #1730

Merged
merged 1 commit into from Nov 29, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 3 additions & 11 deletions apps/next/src/styles/styles.css
Expand Up @@ -157,18 +157,10 @@ body {
}

/* For Next.js <Image /> https://nextjs.org/docs/api-reference/next/image#known-browser-bugs */
/* For Safari v10~15+ */
@media not all and (min-resolution: 0.001dpcm) {
/* For Safari v15+ */
@supports (font: -apple-system-body) and (-webkit-appearance: none) {
img[loading="lazy"] {
clip-path: inset(1px);
}
}
/* For Safari v16+ becuase Safari v16 is supported resolution media query */
@media (min-resolution: 0.001dpcm) {
@supports (-webkit-appearance: none) and (stroke-color: transparent) {
img[loading="lazy"] {
clip-path: inset(1px);
}
clip-path: inset(0.6px);
}
}
/* Hide scrollbar for Chrome, Safari and Opera */
Expand Down