Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

VSCodeLink alignment incorrect when used inline #324

@mattrothenberg

Description

@mattrothenberg

Describe the bug

When using the <VSCodeLink /> react component inside of a paragraph tag, the resulting alignment looks off.

Screen Shot 2022-02-02 at 9 20 24 AM

To reproduce

https://codesandbox.io/s/ecstatic-worker-ygz28?file=/src/App.tsx

<p>
    This is an example of an{" "}
    <VSCodeLink href="https://github.com">Inline link</VSCodeLink> that
    should be aligned propertly
  </p>

Expected behavior

I would expect the link text to be aligned with the surrounding paragraph text.

Desktop (please complete the following information):

  • OS Version: Mac OS 11.6.2
  • Toolkit Version: v0.9.0

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions