mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-10 13:26:13 +00:00
Fix to ensure rectangular generated images are not cropped on web app
Previously non-square images would get cropped when being displayed on web app
This commit is contained in:
@@ -127,7 +127,9 @@ div.imageWrapper img {
|
|||||||
}
|
}
|
||||||
|
|
||||||
div.khoj div.imageWrapper img {
|
div.khoj div.imageWrapper img {
|
||||||
height: 512px;
|
max-height: 512px;
|
||||||
|
height: auto;
|
||||||
|
object-fit: contain;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.khoj div.imageWrapper {
|
div.khoj div.imageWrapper {
|
||||||
|
|||||||
Reference in New Issue
Block a user