Skip to content

Diff lines' background is only visible on the last line of a wrapped line #80

@WarningImHack3r

Description

@WarningImHack3r

What is the issue?

When an added or removed code of a diff snippet doesn't fit in one line, the colored background is only shown on the last line of the wrapped addition/deletion.
example

This is because the background height for this effect is set to 1lh.

It may be fixed once #26 is implemented.

What are the steps to reproduce this issue?

Visit http://svelte-changelog.dev/issues/sveltejs/svelte/14280 (or any other detail page with a diff with long lines)

What were you expecting to happen?

The colored background should fill all the wrapped lines that should be highlighted

Paste any relevant logs, error output, etc.

What OS are you experiencing the problem on?

Not applicable

Additional platform information

No response

Duplicates

  • I have checked that my problem has not already been mentioned recently in an existing issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions