diff --git a/sass/_project-sass/_project-Main.scss b/sass/_project-sass/_project-Main.scss index 2c7fd5d3..6651d1da 100644 --- a/sass/_project-sass/_project-Main.scss +++ b/sass/_project-sass/_project-Main.scss @@ -583,14 +583,22 @@ a.tag:hover { } .news-item .files { background: #F5F5F5; - padding: 8px 10px 2px 10px; + padding: 0px 10px 6px 0px; border-top: 1px solid #E7E7E7; margin-bottom: 4px; } .news-item .file { width: 90px; + overflow: hidden; margin-bottom: 0; padding: 0; + margin-left: 17px; + margin-top: 10px; +} +.news-item .file .image-container { + height: 63px; + float: left; + width: 100%; } .news-item .file a:hover { text-decoration: none; diff --git a/views/_news.erb b/views/_news.erb index 81d06813..7bcb4957 100644 --- a/views/_news.erb +++ b/views/_news.erb @@ -64,7 +64,7 @@ <% if site_change_file_display_class(f) == 'html' %> <% elsif site_change_file_display_class(f) == 'image' %> - + <% elsif site_change_file_display_class(f) == 'misc' %> <%= File.extname(f).sub('.', '') %>