Commit 7effa6be authored by gubala's avatar gubala

reverted ruby version

parent 00e959b8
......@@ -76,3 +76,11 @@
height: 24px;
}
}
.thumb {
max-width: 384px;
}
.tooltip-inner {
max-width: 400px !important;
}
......@@ -62,7 +62,7 @@
- else
- if entry[:name].end_with?('jpg', 'jpeg', 'png', 'gif')
= link_to display_name, file_path(path: target_path),
title: "<img height='512px' src='#{file_path(path: target_path)}'>",
title: "<img class='thumb' src='#{file_path(path: target_path)}'>",
data: { html: true, placement: 'right' }
- else
= link_to display_name, file_path(path: target_path)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment