Width sizing for the iframe not consistent.

Created on 15 July 2015, almost 9 years ago
Updated 26 January 2023, over 1 year ago

I'm using ver 7.x-2.2 of Twitter block on D7 and I created my design for the twitter block originally at 680px wide. It seems that twitter has changed the maximum width of the widget now to 520px and that disrupted my design. It appears that the CSS controlling the maximum width for the (twitter block feed) iframe is set by CSS that is hosted on Twitter's servers. I'm not sure why an iframe was used for this module because it makes it almost impossible for a Drupal Dev to control/override the design of contents in the iframe.

It also seems that when I change height & width settings in the twitter block config, these changes don't occur on pages I have them displayed on. Also the background and font color options are extremely limited.

I tried implementing the Java script to override CSS for the iframe, but that's not working out for me at this point as well. If anyone has insight on overriding CSS within an iframe or any info on when this module will be updated, it would be greatly appreciated.

πŸ’¬ Support request
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States winternett

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Closing as outdated as D10 just released so focus will be going toward D9/D10 support mainly.

    Will keep an eye on the 7.x branch for reviews.

Production build 0.69.0 2024