Skip to content

Line numbers don't align on word-wrapping lines #102

Closed
@lightswitch05

Description

@lightswitch05

When the code line is longer than the div's width, it has to line wrap. When using line numbers, this causes the numbers to become miss-aligned with the code lines. It also causes 2 digit line numbers to appear 1-digit per line.

Live Example

Original issue in Clipster

Screenshot line numbers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions