Skip to content

Lines in diff code block are shifted to the left #11568

@Lms24

Description

@Lms24

Steps to Reproduce

  1. Go to https://docs.sentry.io/platforms/javascript/guides/cloudflare/frameworks/sveltekit/
  2. Observe removed/added lines after the two unchanged lines being shifted to the left

Expected Result

The changed lines should vertically align with the unchanged lines and not be shifted to the left

Actual Result

Image

Additional Info

I'll open a PR with a potential fix in a minute but I saw that #10996 basically introduced the CSS that's now causing the issue. So I'm wondering if there's a deeper problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions