diff --git a/assets/css/app.css b/assets/css/app.css
index 6c1be5cc..cb1a82e8 100644
--- a/assets/css/app.css
+++ b/assets/css/app.css
@@ -54,7 +54,7 @@ body {
top: 60px;
bottom: 0;
left: 0;
- z-index: 1000;
+ /* z-index: 1000;*/
/* padding: 20px; */
padding-left: 15px;
/* padding-top: 15px; */
@@ -81,7 +81,7 @@ body {
right: 0;
left: 0;
background-color: inherit;
- z-index: 1000;
+ /* z-index: 1000; */
width: inherit;
overflow-x: hidden;
overflow-y: auto;
@@ -327,6 +327,12 @@ btn-xs
display: block;
margin-left: auto;
margin-right: auto;
+
+}
+
+.hoverpic:hover {
+ transform: scale(5);
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.thumbnail-sm {
diff --git a/templates/helper.twig b/templates/helper.twig
index 8b2066e2..b1cd6b3e 100644
--- a/templates/helper.twig
+++ b/templates/helper.twig
@@ -14,7 +14,7 @@
{% elseif ext in ['txt', 'md', 'rtf'] %} {# Text files #}
fa-file-alt
{% elseif ext in ['csv'] %} {# CSV files #}
- fa-file-csv
+ fa-file-csv
{% elseif ext in ['doc', 'docx', 'odt'] %} {# Documents #}
fa-file-word
{% elseif ext in ['zip', 'rar', 'bz2', 'tar', '7z', 'gz'] %}
@@ -37,7 +37,11 @@
{% macro attachment_icon(attachment, attachment_helper, class = "fa-fw fas fa-3x", link = true) %}
{% if not attachment_helper or attachment_helper.fileExisting(attachment) %}
-
+ {% if attachment.picture %}
+
+ {% else %}
+
+ {% endif %}
{% elseif not attachment_helper.fileExisting(attachment) %}