From 930747f06ff633bb3f23df94fe57b679e311a015 Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Sun, 8 Jan 2012 19:54:17 -0600 Subject: Fix for annoying overflow scroll issues caused by facebook and twitter share/follow widgets. --- .themes/classic/sass/base/_layout.scss | 6 +++++- .themes/classic/sass/partials/_sharing.scss | 2 ++ .themes/classic/sass/partials/sidebar/_base.scss | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) (limited to '.themes/classic/sass') diff --git a/.themes/classic/sass/base/_layout.scss b/.themes/classic/sass/base/_layout.scss index f9f3a41a..ad99c6a2 100644 --- a/.themes/classic/sass/base/_layout.scss +++ b/.themes/classic/sass/base/_layout.scss @@ -89,7 +89,10 @@ body { } } -#content { > div, > article { width: 100%; }} +#content { + overflow: hidden; + > div, > article { width: 100%; } +} aside.sidebar { float: none; @@ -134,6 +137,7 @@ body.sidebar-footer { } #content { @extend .group; + overflow: visible; margin-right: $sidebar-width-medium; position: relative; .no-sidebar & { margin-right: 0; border-right: 0; } diff --git a/.themes/classic/sass/partials/_sharing.scss b/.themes/classic/sass/partials/_sharing.scss index 1fa97750..3eecb488 100644 --- a/.themes/classic/sass/partials/_sharing.scss +++ b/.themes/classic/sass/partials/_sharing.scss @@ -4,3 +4,5 @@ background: $img-border top left repeat-x; } } + +#fb-root { display: none; } diff --git a/.themes/classic/sass/partials/sidebar/_base.scss b/.themes/classic/sass/partials/sidebar/_base.scss index afda01c7..5441304e 100644 --- a/.themes/classic/sass/partials/sidebar/_base.scss +++ b/.themes/classic/sass/partials/sidebar/_base.scss @@ -2,6 +2,7 @@ @include box-shadow(lighten($sidebar-bg, 5) 0 1px); } aside.sidebar { + overflow: hidden; color: $sidebar-color; text-shadow: lighten($sidebar-bg, 8) 0 1px; a { @extend .force-wrap; } -- cgit v1.2.1