Update static/style.css
Browse files- static/style.css +2 -0
static/style.css
CHANGED
@@ -51,11 +51,13 @@ body {
|
|
51 |
}
|
52 |
|
53 |
.image-preview {
|
|
|
54 |
max-width: 100%;
|
55 |
max-height: 300px;
|
56 |
border-radius: 8px;
|
57 |
display: block;
|
58 |
margin: 0 auto;
|
|
|
59 |
}
|
60 |
|
61 |
.file-input {
|
|
|
51 |
}
|
52 |
|
53 |
.image-preview {
|
54 |
+
width: 100%;
|
55 |
max-width: 100%;
|
56 |
max-height: 300px;
|
57 |
border-radius: 8px;
|
58 |
display: block;
|
59 |
margin: 0 auto;
|
60 |
+
object-fit: contain;
|
61 |
}
|
62 |
|
63 |
.file-input {
|