Skip to content

Instantly share code, notes, and snippets.

@fform
Created July 25, 2013 22:01
Show Gist options
  • Save fform/6084182 to your computer and use it in GitHub Desktop.
Save fform/6084182 to your computer and use it in GitHub Desktop.
Force Facebook comment plugin and twitter to respect fluid container
.fb-comments,
.fb-comments iframe[style],
.fb_iframe_widget > span[style] {
width: 100% !important;
}
.twitter-tweet {
width: 100% !important;
}
@fform
Copy link
Author

fform commented Jul 25, 2013

Makes these embedded iframe widgets work in something like Foundation.

Weird that this isn't specified anywhere nor do either want you to control the width...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment