saurabhnemade / react-twitter-embed

Simplest way to add twitter widgets to your react project.
https://saurabhnemade.github.io/react-twitter-embed/
363 stars 65 forks source link

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

Open tiago138 opened 2 years ago

tiago138 commented 2 years ago

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

pzapora1 commented 2 years ago

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

altarrok commented 2 years ago

Same +1

vuonghungvinh commented 1 year ago

Same+2

dimitrisraptis96 commented 1 year ago

Made it work with this messy hack:


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