diff options
author | Brandon Mathis <brandon@imathis.com> | 2012-01-08 19:54:17 -0600 |
---|---|---|
committer | Brandon Mathis <brandon@imathis.com> | 2012-01-08 19:56:55 -0600 |
commit | 930747f06ff633bb3f23df94fe57b679e311a015 (patch) | |
tree | ac3b4e99a170af76e535f05e6ecfa24207e1db96 | |
parent | f99234b10ec3cd038a9537a1cad2a4e93250fb7a (diff) | |
download | my_new_personal_website-930747f06ff633bb3f23df94fe57b679e311a015.tar.xz my_new_personal_website-930747f06ff633bb3f23df94fe57b679e311a015.zip |
Fix for annoying overflow scroll issues caused by facebook and twitter share/follow widgets.
-rw-r--r-- | .themes/classic/sass/base/_layout.scss | 6 | ||||
-rw-r--r-- | .themes/classic/sass/partials/_sharing.scss | 2 | ||||
-rw-r--r-- | .themes/classic/sass/partials/sidebar/_base.scss | 1 |
3 files changed, 8 insertions, 1 deletions
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; } |