if the uploaded file is an image mime type, display it
This commit is contained in:
@@ -32,6 +32,11 @@ body.navbar-spacing {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
#image img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
#deletelink {
|
||||
float: right;
|
||||
}
|
||||
|
||||
@@ -96,6 +96,11 @@ h3.title {
|
||||
font-family: Consolas, "Lucida Console", "DejaVu Sans Mono", Monaco, monospace;
|
||||
}
|
||||
|
||||
#image img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
#status {
|
||||
clear: both;
|
||||
padding: 5px 10px;
|
||||
@@ -236,7 +241,7 @@ input {
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
.nonworking {
|
||||
#image, .nonworking {
|
||||
background-color: #fff;
|
||||
color: #000;
|
||||
width: 100%;
|
||||
@@ -246,7 +251,7 @@ input {
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
padding: 5px;
|
||||
padding: 5px 0;
|
||||
}
|
||||
|
||||
.hidden { display: none !important; }
|
||||
|
||||
Reference in New Issue
Block a user