Add file preview for Markdown and text files
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user