From 265e14fb131b98e91add09c81001b06ccb17143f Mon Sep 17 00:00:00 2001 From: danielgrippi Date: Sat, 21 Apr 2012 22:25:37 -0700 Subject: [PATCH] remove some old small frame declarations [ci skip] --- app/assets/stylesheets/new_styles/_canvas.scss | 15 +++++++-------- app/assets/templates/small-frame.jst.hbs | 6 ++---- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/app/assets/stylesheets/new_styles/_canvas.scss b/app/assets/stylesheets/new_styles/_canvas.scss index 225830fff..b3df19f50 100644 --- a/app/assets/stylesheets/new_styles/_canvas.scss +++ b/app/assets/stylesheets/new_styles/_canvas.scss @@ -68,21 +68,20 @@ body { /* used in masking photos with overflow: hidden; */ .image-container { - float : left; + position : absolute; overflow : hidden; + width : 100%; + top : 0; + left : 0; + + width : 100%; + img { max-height : 100%; max-width : 100%; } } - - .image-set { - position : absolute; - top : 0; - left : 0; - clear : all; - } } /* larger declarations */ diff --git a/app/assets/templates/small-frame.jst.hbs b/app/assets/templates/small-frame.jst.hbs index 1000218b0..4bcc53214 100644 --- a/app/assets/templates/small-frame.jst.hbs +++ b/app/assets/templates/small-frame.jst.hbs @@ -1,11 +1,9 @@
{{#if photos}} -
+
{{#each photos}} -
- -
+ {{/each}}
{{/if}}