Skip to content

Investigate specificity issue with properties in [class^=pf-] #976

Description

@mcoker

If you assign an inheritable property (such as color) from https://github.com/patternfly/patternfly-next/blob/master/src/patternfly/_base.scss#L1-L15 on a parent element, and a child of that element has .pf-*, that inheritable property will be overwritten by the CSS in that attribute selector block. Ideally, we should be able to assign color to a parent, and that cascade to its children without being overwritten by global reset CSS.

A good example of the issue is having to write a selector like mentioned in this comment - #971 (review)

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