Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Losing border style #1967

Closed
lehuuphuc opened this issue Dec 5, 2022 · 2 comments · Fixed by #1971
Closed

Losing border style #1967

lehuuphuc opened this issue Dec 5, 2022 · 2 comments · Fixed by #1971

Comments

@lehuuphuc
Copy link

lehuuphuc commented Dec 5, 2022

Please have a look on below examples:

In the first example, everything works fine, the box has dashed border style

In the second example, when I add another element with class "divide-dashed", the first element loses its border style

The class "border-dashed" is generated before class "border", so the border style is overridden.

@lehuuphuc lehuuphuc changed the title Loosing border style Losing border style Dec 5, 2022
@sibbng
Copy link
Member

sibbng commented Dec 5, 2022

Temporarily you can fix that by adding mergeSelectors: false in your config.

@zyyv
Copy link
Member

zyyv commented Dec 6, 2022

Hi, it just doesn't generate css weights enough, you can use this. Playground

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants