diff --git a/app/views/photos/_photo.haml b/app/views/photos/_photo.haml index f822bce13..dddd8e7f1 100644 --- a/app/views/photos/_photo.haml +++ b/app/views/photos/_photo.haml @@ -9,7 +9,7 @@ = link_to (image_tag post.image.url(:thumb_medium)), object_path(post) %div.time - = link_to(how_long_ago(post), status_message_path(post)) + = link_to(how_long_ago(post), photo_path(post)) \-- = link_to "show comments (#{post.comments.count})", '#', :class => "show_post_comments" = render "comments/comments", :post => post diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 86c4fc512..e94e68f64 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -17,6 +17,9 @@ a { a:hover { color: #018790; } +img { + width: 100%; } + #flash_notice, #flash_error, #flash_alert { diff --git a/public/stylesheets/sass/application.sass b/public/stylesheets/sass/application.sass index 09bd60a8b..b233194d3 100644 --- a/public/stylesheets/sass/application.sass +++ b/public/stylesheets/sass/application.sass @@ -16,6 +16,8 @@ a :font-weight bold &:hover :color #018790 +img + :width 100% #flash_notice, #flash_error,