Skip to content

Description of a category item does not change color on selection #1092

Open
@begedin

Description

@begedin

Problem

From #1079 (comment)

The description text is always using the $text--light (#666) color and does not switch to $default-color (#08A8FC when selected.

The PR introduced a minor bug. The iconClass is bound to the icon element alone and nothing is bound to the p element which holds the description. That means that the p.selected style can no longer apply.

The component itself should be bound to the iconClass class property and styles should be rewritten so they apply to both the icon and the p element.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions