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