Fit desktop preview image
This commit is contained in:
@@ -312,15 +312,17 @@ textarea {
|
|||||||
min-height: 120px;
|
min-height: 120px;
|
||||||
display: grid;
|
display: grid;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-items: start;
|
justify-items: center;
|
||||||
border: 1px dashed #555;
|
border: 1px dashed #555;
|
||||||
background: #222;
|
background: #222;
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
overflow: auto;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.preview-box img {
|
.preview-box img {
|
||||||
max-width: none;
|
max-width: 100%;
|
||||||
|
max-height: 220px;
|
||||||
|
object-fit: contain;
|
||||||
image-rendering: crisp-edges;
|
image-rendering: crisp-edges;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user