mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 21:04:37 +03:00
Fix image thumbnail display (#907)
This commit is contained in:
@@ -46,7 +46,7 @@
|
|||||||
|
|
||||||
&-image {
|
&-image {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
object-fit: cover;
|
object-fit: contain;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -138,10 +138,13 @@ textarea.text-input {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.gallery-card-image,
|
.gallery-card-image,
|
||||||
.tag-card-image,
|
.tag-card-image {
|
||||||
.image-card-preview {
|
|
||||||
max-height: 240px;
|
max-height: 240px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.image-card-preview {
|
||||||
|
height: 240px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.zoom-2 {
|
.zoom-2 {
|
||||||
@@ -156,10 +159,13 @@ textarea.text-input {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.gallery-card-image,
|
.gallery-card-image,
|
||||||
.tag-card-image,
|
.tag-card-image {
|
||||||
.image-card-preview {
|
|
||||||
max-height: 360px;
|
max-height: 360px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.image-card-preview {
|
||||||
|
height: 360px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.zoom-3 {
|
.zoom-3 {
|
||||||
@@ -174,10 +180,13 @@ textarea.text-input {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.tag-card-image,
|
.tag-card-image,
|
||||||
.gallery-card-image,
|
.gallery-card-image {
|
||||||
.image-card-preview {
|
|
||||||
max-height: 480px;
|
max-height: 480px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.image-card-preview {
|
||||||
|
height: 480px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user