Center tweets
This commit is contained in:
parent
050bd14e46
commit
7aaacf4d50
|
@ -12,7 +12,7 @@ export default function WrappedTwitterTweetEmbed(props: {
|
||||||
const tweetId = props.node.attrs.tweetId.slice(1)
|
const tweetId = props.node.attrs.tweetId.slice(1)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<NodeViewWrapper className="tiptap-tweet">
|
<NodeViewWrapper className="tiptap-tweet [&_.twitter-tweet]:mx-auto">
|
||||||
<TwitterTweetEmbed tweetId={tweetId} />
|
<TwitterTweetEmbed tweetId={tweetId} />
|
||||||
</NodeViewWrapper>
|
</NodeViewWrapper>
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user