mirror of
https://github.com/stashapp/stash.git
synced 2026-05-09 05:05:29 +02:00
Fix image thumbnail display (#907)
This commit is contained in:
parent
90c5a9dd4a
commit
07212dbea9
2 changed files with 16 additions and 7 deletions
|
|
@ -46,7 +46,7 @@
|
|||
|
||||
&-image {
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
object-fit: contain;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue