Skip to content

Commit 930747f

Browse files
committed
Fix for annoying overflow scroll issues caused by facebook and twitter share/follow widgets.
1 parent f99234b commit 930747f

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

.themes/classic/sass/base/_layout.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,10 @@ body {
8989
}
9090
}
9191

92-
#content { > div, > article { width: 100%; }}
92+
#content {
93+
overflow: hidden;
94+
> div, > article { width: 100%; }
95+
}
9396

9497
aside.sidebar {
9598
float: none;
@@ -134,6 +137,7 @@ body.sidebar-footer {
134137
}
135138
#content {
136139
@extend .group;
140+
overflow: visible;
137141
margin-right: $sidebar-width-medium;
138142
position: relative;
139143
.no-sidebar & { margin-right: 0; border-right: 0; }

.themes/classic/sass/partials/_sharing.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@
44
background: $img-border top left repeat-x;
55
}
66
}
7+
8+
#fb-root { display: none; }

.themes/classic/sass/partials/sidebar/_base.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
@include box-shadow(lighten($sidebar-bg, 5) 0 1px);
33
}
44
aside.sidebar {
5+
overflow: hidden;
56
color: $sidebar-color;
67
text-shadow: lighten($sidebar-bg, 8) 0 1px;
78
a { @extend .force-wrap; }

0 commit comments

Comments
 (0)