Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Button/Link external link attributes #553

Merged
merged 3 commits into from
Aug 23, 2023

Conversation

thomasdigby
Copy link
Member

@thomasdigby thomasdigby commented Aug 23, 2023

As part of the work to remove the intermidiary Button and Link components in atom-core, we need to add a smidge of logic to open external links in a new tab. I also took the chance to simplify the layout and sizing logic for Buttons children (now that gap is available to use)

This PR supercedes my previous asChild implementation, which may still be the longer-term plan, but @LimeWub rightly raised a few concerns that I want us to spend some time resolving first #552

@thomasdigby thomasdigby merged commit 1e844e2 into main Aug 23, 2023
1 check passed
@thomasdigby thomasdigby deleted the fix/link-button-external-link branch August 23, 2023 15:40
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.

3 participants