Add file preview for Markdown and text files

This commit is contained in:
Frederic Guillot
2016-02-16 22:06:53 -05:00
parent 4961805e0f
commit 9249498503
11 changed files with 109 additions and 38 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -14,7 +14,7 @@
border: 1px solid #efefef;
border-radius: 5px;
margin-bottom: 20px;
box-shadow: 2px 2px 5px -2px rgba(0, 0, 0, 0.55);
box-shadow: 4px 2px 10px -6px rgba(0,0,0,0.55);
margin-right: 15px;
}
@@ -44,3 +44,13 @@
margin-top: 8px;
margin-bottom: 5px;
}
.file-viewer {
position: relative;
}
.file-viewer img {
max-width: 95%;
max-height: 85%;
margin-top: 10px;
}

View File

@@ -205,22 +205,6 @@ span.task-board-date-overdue {
height: 300px;
}
.task-file-viewer {
position: relative;
}
.task-file-viewer img {
max-width: 95%;
max-height: 85%;
margin-top: 10px;
}
.task-time-form {
margin-top: 10px;
margin-bottom: 25px;
padding: 3px;
}
.task-link-closed {
text-decoration: line-through;
}