Skip to content

Incorrect width with RTL text + special char and multiple instances #24

Description

@iddanh

Here is an example of it happening: https://jsfiddle.net/dgo3tfpv/1/

All mirror elements are added to the same wrapper, and the ! char of the second instance gets placed all the way on the right. That causes the span to have an incorrect width.

image

A possible fix is to set display: inline-block; on the spans.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions