Fix photos 1px right and bottom glitch on some window sizes

This commit is contained in:
2021-11-20 21:38:43 +01:00
parent 9236c3b1b5
commit b6259ea2fa
3 changed files with 6 additions and 6 deletions

View File

@@ -18,8 +18,8 @@
img { img {
display: block; display: block;
width: 100%; width: calc(100% + 1px);
height: 100%; height: calc(100% + 1px);
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: 100%; width: calc(100% + 1px);
height: 100%; height: calc(100% + 1px);
object-fit: cover; object-fit: cover;
} }

View File

@@ -81,8 +81,8 @@
} }
img { img {
display: block; display: block;
width: 100%; width: calc(100% + 1px);
height: 100%; height: calc(100% + 1px);
object-fit: cover; object-fit: cover;
transform: scale3d(1.125, 1.125, 1.125); transform: scale3d(1.125, 1.125, 1.125);
transition: transform 2s var(--ease-quart), opacity 1.2s var(--ease-quart); transition: transform 2s var(--ease-quart), opacity 1.2s var(--ease-quart);