diff --git a/app/views/stores/index.html.erb b/app/views/stores/index.html.erb index bbdc10913..aa799d0a2 100644 --- a/app/views/stores/index.html.erb +++ b/app/views/stores/index.html.erb @@ -13,6 +13,7 @@ display: inline-block; width: 49%; margin: 10px auto; + vertical-align: top; padding: 0px 2%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; @@ -48,6 +49,16 @@ .line_block table td{ height: 2em; } + .filename { + + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + max-width: 247px; + } + /*.filename a:after { + content: "..."; + }*/ <% content_for :top_field do%> @@ -60,9 +71,10 @@ <% end %>
-<% @attach_array.each do |c|%> +<% @attach_array.each do |k|%>

+ c

@@ -72,9 +84,9 @@ - <% c.each do |c1|%> + <% k.each do |c1|%> - + <% end %>
<%= link_to_attachment c1 %><%= link_to_attachment c1 %> <%= c1.downloads %>