Skip to content

Commit 1c56a27

Browse files
Set image-rendering to crisp-edges to prevent blurring
1 parent 8d6940b commit 1c56a27

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/styles/explore.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,11 +216,15 @@ qc-explorer {
216216
font-weight: 600;
217217
font-size: 12.5px;
218218
}
219+
219220
img {
220-
object-fit: contain;
221221
width: 100%;
222222
height: 100%;
223+
223224
background-color: white;
225+
226+
object-fit: contain;
227+
image-rendering: crisp-edges;
224228
}
225229
}
226230
}

src/styles/zoom.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ qc-zoom {
1818
img {
1919
width: 100%;
2020
height: 100%;
21+
2122
object-fit: cover;
23+
image-rendering: crisp-edges;
2224
}
2325
}
2426

0 commit comments

Comments
 (0)