react-twitter-embed icon indicating copy to clipboard operation
react-twitter-embed copied to clipboard

There is a way to put a specific width for the tweet embed?

Open tiago138 opened this issue 2 years ago • 4 comments

When trying to put a specific width using options it does nothing.

tiago138 avatar Jul 15 '22 16:07 tiago138

I am looking for a solution for the same case only for height. Height option works for timeline but not for individual tweet.

pzapora1 avatar Jul 25 '22 12:07 pzapora1

Same +1

altarrok avatar Aug 17 '22 16:08 altarrok

Same+2

vuonghungvinh avatar Apr 24 '23 08:04 vuonghungvinh

Made it work with this messy hack:

 <style jsx global>{`
        [id^="twitter-widget-"] {
          width: 350px !important;
        }
`}</style>

dimitrisraptis96 avatar May 09 '23 14:05 dimitrisraptis96