mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-09-19 04:04:47 -04:00
Added preview for
- Video (HTML5) - Audio (HTML5) - PDF (Browser capabilities) attachment. Added drag & drop functionality Added attachment preview to preview before submitting
This commit is contained in:
parent
dd721c651b
commit
faf596aeb7
8 changed files with 238 additions and 58 deletions
|
@ -64,12 +64,25 @@ body.navbar-spacing {
|
|||
margin-right: 8px;
|
||||
}
|
||||
|
||||
#image img {
|
||||
#attachmentPreview img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
#attachmentPreview .pdfPreview {
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.dragAndDropFile{
|
||||
color:#777;
|
||||
font-size:1em;
|
||||
display:inline;
|
||||
}
|
||||
|
||||
|
||||
#deletelink {
|
||||
float: right;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue