Skip to content

Responsive border widths create wrong classes when size includes a dot #613

@kristiansp

Description

@kristiansp

I seem to have come across a bug with border widths and responsive classes (possibly this also applies to other styles, but I haven't tested that).

I have a border width 0.25. Using border-b-0.25 works fine, but sm:border-b-0.25 doesn't. I discovered that it seems to generate the class .border-b-0\.sm\:25 instead of .sm\:border-b-0\.25.

If I rename the border width to 1/4 instead of 0.25, it correctly creates the class sm\:border-b-1\/4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions