feat: preview image with pre-cache

This commit is contained in:
zerosoul
2022-06-12 12:13:09 +08:00
parent cf5fdcdbba
commit 86ea895b13
4 changed files with 63 additions and 32 deletions
@@ -6,7 +6,9 @@ const Styled = styled.div`
position: relative;
width: fit-content;
height: fit-content;
img {
> img {
max-width: 480px;
cursor: zoom-in;
object-fit: cover;
}
.overlay {