Fix photos 1px right and bottom glitch on some window sizes
This commit is contained in:
@@ -18,8 +18,8 @@
|
||||
|
||||
img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
width: calc(100% + 1px);
|
||||
height: calc(100% + 1px);
|
||||
object-fit: cover;
|
||||
pointer-events: none;
|
||||
user-select: none;
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
}
|
||||
img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
width: calc(100% + 1px);
|
||||
height: calc(100% + 1px);
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
|
||||
@@ -81,8 +81,8 @@
|
||||
}
|
||||
img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
width: calc(100% + 1px);
|
||||
height: calc(100% + 1px);
|
||||
object-fit: cover;
|
||||
transform: scale3d(1.125, 1.125, 1.125);
|
||||
transition: transform 2s var(--ease-quart), opacity 1.2s var(--ease-quart);
|
||||
|
||||
Reference in New Issue
Block a user