Browse Source

Closes #57: image non affichée

Bastien Sevajol (Algoo) 8 years ago
parent
commit
0ed28ee4fe

+ 6 - 0
tracim/tracim/public/assets/css/dashboard.css View File

@@ -367,3 +367,9 @@ span.info.readonly {
367 367
     font-size: 0.8em;
368 368
     opacity: 0.7;
369 369
 }
370
+
371
+@media(min-width: 768px) and (max-width: 992px) {
372
+    .download-file-button i.fa {
373
+        font-size: 12px;
374
+    }
375
+}

+ 2 - 3
tracim/tracim/templates/file/getone.mak View File

@@ -79,9 +79,8 @@
79 79
 <div class="row">
80 80
     <% download_url = tg.url('/workspaces/{}/folders/{}/files/{}/download?revision_id={}'.format(result.file.workspace.id, result.file.parent.id,result.file.id,result.file.selected_revision)) %>
81 81
     <div class="col-sm-1 col-sm-offset-3">
82
-        <div class="t-half-spacer-above">
83
-            <img src="" style="width: 96px; border: 1px solid #999;"/>
84
-            <a style="margin-top: -116px; margin-left: 16px;" class="btn btn-default" tittle="${_('Download the file')}"
82
+        <div class="t-half-spacer-above download-file-button">
83
+            <a style="" class="btn btn-default" tittle="${_('Download the file')}"
85 84
                 href="${download_url}" >
86 85
                 ${ICON.FA_FW('fa fa-download fa-2x')}
87 86
             </a>