Skip to content

.space-* children margin override #1614

@SpadarShut

Description

@SpadarShut

I'm using the .space-x-4 class and want to override a margin for one of the children. However, the selector is very specific and .mr class gets overridden.

So why does the selector needs to be so specific?

.space-x-2 > :not(template) ~ :not(template)

instead of

.space-x-2 > * ~ *

If it's possible to change the specificity and also generate .m* classes after .space* classes, then overriding would work.

Can this be implemented?

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