mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-01-23 02:35:23 +00:00
if the uploaded file is an image mime type, display it
This commit is contained in:
parent
50075ea948
commit
39e865ca64
6 changed files with 35 additions and 6 deletions
|
|
@ -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; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue