Skip to content

Commit

Permalink
don't constrain photos to squares on photo index
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgrippi committed Jul 12, 2011
1 parent 039b65b commit dba8a65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
1 change: 0 additions & 1 deletion app/views/photos/_index.html.haml
Expand Up @@ -6,4 +6,3 @@
#thumbnails.span-15.last
- for photo in photos
= link_to (image_tag photo.url(:thumb_large), "data-message-guid" => photo.status_message_guid ), photo_path(photo)

11 changes: 4 additions & 7 deletions public/stylesheets/sass/application.sass
Expand Up @@ -1089,17 +1089,14 @@ img.scaled_full
#thumbnails
a
:display inline-block
:width 100px
:min-width 100px
:height 100px
:height 140px
:min-height 100px
:margin
:bottom 15px
:right 15px
:bottom 5px
:right 2px

img
:height 100px
:width 100px
:height 140px

#global_search
:display inline
Expand Down

0 comments on commit dba8a65

Please sign in to comment.