aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2014-08-04 15:37:29 +0100
committerLouise Crow <louise.crow@gmail.com>2014-08-05 11:11:33 +0100
commit73179358f122c3fdc8351f1f6765bf01c7c789a1 (patch)
tree232c139f2ef693cbee596c1475272054201b59ae
parent8b65492f99052bb53400852de345d9c28203b0c9 (diff)
Set height for IE7, don't use min-height for small devices.
IE7 doesn't implement min-height, so force the iframe height. We don't want to set min-height for mobile as it's just a workaround for desktop browsers setting a too-small height.
-rw-r--r--app/assets/stylesheets/responsive/_attachments_layout.scss7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/assets/stylesheets/responsive/_attachments_layout.scss b/app/assets/stylesheets/responsive/_attachments_layout.scss
index b41210a5f..9a2454e8f 100644
--- a/app/assets/stylesheets/responsive/_attachments_layout.scss
+++ b/app/assets/stylesheets/responsive/_attachments_layout.scss
@@ -62,7 +62,12 @@
}
#wrapper_google_embed iframe {
- min-height: 800px;
+ @include respond-min($main_menu-mobile_menu_cutoff ){
+ min-height: 800px;
+ @include lte-ie7{
+ height:800px !important;
+ }
+ }
}