Skip to content

Conversation

@sad4whattt
Copy link

image image

Copy link
Contributor

@11k 11k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the extra padding you added to the container makes the content area too narrow and the text more difficult to read. Also, there's an issue where text without spaces overflows. You can test against one of Destiny's latest posts.

Image

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you undo the changes to this file? It's copy-pasted, so I prefer to leave it as-is. It's in .prettierignore for this reason, too.

try {
const result = await this.xComOEmbedService.getOEmbed(xcomMatch[1]);

const container = document.createElement('div');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you extract some of the common logic for building a container div and instantiating the tooltip instance to a separate function?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants