Fix small photos pixel rendering over background

This commit is contained in:
2021-11-29 23:52:59 +01:00
parent 02f0815751
commit ba09c2af2d
2 changed files with 4 additions and 4 deletions

View File

@@ -18,8 +18,8 @@
img { img {
display: block; display: block;
width: calc(100% + 1px); width: calc(100% + 2px);
height: calc(100% + 1px); height: calc(100% + 2px);
object-fit: cover; object-fit: cover;
pointer-events: none; pointer-events: none;
user-select: none; user-select: none;

View File

@@ -17,8 +17,8 @@
} }
img { img {
display: block; display: block;
width: calc(100% + 1px); width: calc(100% + 2px);
height: calc(100% + 1px); height: calc(100% + 2px);
object-fit: cover; object-fit: cover;
} }