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

Gap after border in markdown preview from header #163

Open
Tracked by #8
nihaals opened this issue Jul 2, 2021 · 0 comments
Open
Tracked by #8

Gap after border in markdown preview from header #163

nihaals opened this issue Jul 2, 2021 · 0 comments
Labels
bug Something isn't working component: package-upload Related to the PackageUpload component

Comments

@nihaals
Copy link
Member

nihaals commented Jul 2, 2021

Describe the bug

If a markdown element with top padding is at the start of the markdown file, a weird gap is added between the border and the start of the markdown content. Since a lot of READMEs have a header at the start, this is fairly common.

To Reproduce

  1. Upload a package zip to PackageUpload with a README which starts with # Header
  2. Notice the gap between the border and the header in the markdown preview

Expected behaviour

There is a regular gap between the border and the header (like with regular text instead of a header).

Screenshots

Gap with heading

image

Normal gap

image

Additional context

Add any other context about the problem here.
Browser: Chrome 91.0.4472.114, Linux
Version: 17a01d7

@nihaals nihaals mentioned this issue Jul 2, 2021
24 tasks
@nihaals nihaals added bug Something isn't working component: package-upload Related to the PackageUpload component labels Jul 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component: package-upload Related to the PackageUpload component
Projects
None yet
Development

No branches or pull requests

1 participant