Skip to content

Border Styles #112

@ConnorVG

Description

@ConnorVG

.border-dotted is outputting border-width: 0 due to the borderStylesReset (afaict). This means that border-dotted and border-dashed output border-width: 0 nullifying the border style (as it removes the border).

Is this a bug or am I not understanding something? I can get class=".border-dotted" to work but I just can't get @apply border-dotted; to work...

https://github.com/tailwindcss/tailwindcss/blob/52f6fb23ebd54613ac90da0ab6b859ec213bc7e2/src/lib/generateUtilities.js#L61 is messing with https://github.com/tailwindcss/tailwindcss/blob/52f6fb23ebd54613ac90da0ab6b859ec213bc7e2/src/lib/generateUtilities.js#L64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions