Fix image thumbnail display (#907)

This commit is contained in:
WithoutPants
2020-10-30 09:52:53 +11:00
committed by GitHub
parent 90c5a9dd4a
commit 07212dbea9
2 changed files with 16 additions and 7 deletions

View File

@@ -46,7 +46,7 @@
&-image {
height: 100%;
object-fit: cover;
object-fit: contain;
width: 100%;
}

View File

@@ -138,10 +138,13 @@ textarea.text-input {
}
.gallery-card-image,
.tag-card-image,
.image-card-preview {
.tag-card-image {
max-height: 240px;
}
.image-card-preview {
height: 240px;
}
}
.zoom-2 {
@@ -156,10 +159,13 @@ textarea.text-input {
}
.gallery-card-image,
.tag-card-image,
.image-card-preview {
.tag-card-image {
max-height: 360px;
}
.image-card-preview {
height: 360px;
}
}
.zoom-3 {
@@ -174,10 +180,13 @@ textarea.text-input {
}
.tag-card-image,
.gallery-card-image,
.image-card-preview {
.gallery-card-image {
max-height: 480px;
}
.image-card-preview {
height: 480px;
}
}
}