Skip to content

Commit

Permalink
Fix for annoying overflow scroll issues caused by facebook and twitte…
Browse files Browse the repository at this point in the history
…r share/follow widgets.
  • Loading branch information
imathis committed Jan 9, 2012
1 parent f99234b commit 930747f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .themes/classic/sass/base/_layout.scss
Expand Up @@ -89,7 +89,10 @@ body {
}
}

#content { > div, > article { width: 100%; }}
#content {
overflow: hidden;
> div, > article { width: 100%; }
}

aside.sidebar {
float: none;
Expand Down Expand Up @@ -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; }
Expand Down
2 changes: 2 additions & 0 deletions .themes/classic/sass/partials/_sharing.scss
Expand Up @@ -4,3 +4,5 @@
background: $img-border top left repeat-x;
}
}

#fb-root { display: none; }
1 change: 1 addition & 0 deletions .themes/classic/sass/partials/sidebar/_base.scss
Expand Up @@ -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; }
Expand Down

0 comments on commit 930747f

Please sign in to comment.