From 0eee591b73601d5c22c5b7a176562a0c083d6d0b Mon Sep 17 00:00:00 2001 From: Sam Michel Date: Tue, 25 Feb 2014 13:55:55 +0000 Subject: [PATCH] Fixes FB Like button share box getting cropped. CSS fix for a problem with the FB Like button. When a user clicks on the button the FB box with the article summary and picture is cropped, perhaps only for horizontal buttons? A few people are having the same problem: http://wordpress.org/support/topic/xfbmliframe-hides-beneath-the-theme?replies=5 - applied a fix using max-width suggested in this StackOverflow article http://stackoverflow.com/questions/6444265/facebook-like-comment-box-getting-cut-off-vertically-and-horizontally --- digg-digg/css/diggdigg-style.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/digg-digg/css/diggdigg-style.css b/digg-digg/css/diggdigg-style.css index 7d204e7..4c0acd9 100644 --- a/digg-digg/css/diggdigg-style.css +++ b/digg-digg/css/diggdigg-style.css @@ -177,6 +177,10 @@ padding:4px } +.dd_button .fb_iframe_widget iframe { + max-width: inherit; +} + .dd_fblike_xfbml_ajax_left_float { padding-left:3px } @@ -281,4 +285,4 @@ html { #dd_print_text a:hover { color:#00f; text-decoration:underline -} \ No newline at end of file +}