Fix for annoying overflow scroll issues caused by facebook and twitter share/follow widgets.

This commit is contained in:
Brandon Mathis 2012-01-08 19:54:17 -06:00
parent f99234b10e
commit 930747f06f
3 changed files with 8 additions and 1 deletions

View File

@ -89,7 +89,10 @@ body {
} }
} }
#content { > div, > article { width: 100%; }} #content {
overflow: hidden;
> div, > article { width: 100%; }
}
aside.sidebar { aside.sidebar {
float: none; float: none;
@ -134,6 +137,7 @@ body.sidebar-footer {
} }
#content { #content {
@extend .group; @extend .group;
overflow: visible;
margin-right: $sidebar-width-medium; margin-right: $sidebar-width-medium;
position: relative; position: relative;
.no-sidebar & { margin-right: 0; border-right: 0; } .no-sidebar & { margin-right: 0; border-right: 0; }

View File

@ -4,3 +4,5 @@
background: $img-border top left repeat-x; background: $img-border top left repeat-x;
} }
} }
#fb-root { display: none; }

View File

@ -2,6 +2,7 @@
@include box-shadow(lighten($sidebar-bg, 5) 0 1px); @include box-shadow(lighten($sidebar-bg, 5) 0 1px);
} }
aside.sidebar { aside.sidebar {
overflow: hidden;
color: $sidebar-color; color: $sidebar-color;
text-shadow: lighten($sidebar-bg, 8) 0 1px; text-shadow: lighten($sidebar-bg, 8) 0 1px;
a { @extend .force-wrap; } a { @extend .force-wrap; }