Skip to content

Commit

Permalink
fix stylings
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianrdu committed Jun 12, 2024
1 parent 4e743e6 commit a5b7891
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/web/components/tailwind/extensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const youtube = Youtube.configure({

const twitter = Twitter.configure({
HTMLAttributes: {
class: cx("rounded-lg border border-muted"),
class: cx("not-prose"),
},
inline: false,
});
Expand Down
2 changes: 1 addition & 1 deletion packages/headless/src/extensions/twitter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const Twitter = Node.create<TwitterOptions>({
},

addNodeView() {
return ReactNodeViewRenderer(TweetComponent);
return ReactNodeViewRenderer(TweetComponent, { attrs: this.options.HTMLAttributes });
},

inline() {
Expand Down

0 comments on commit a5b7891

Please sign in to comment.