Skip to content

add mdTooltipClass to allow CSS customization of tooltips #4601

Closed
@arlowhite

Description

@arlowhite

Bug, feature request, or proposal:

The ability to specify a CSS class for a MdTooltip.

What is the expected behavior?

Developers should be able to customize some tooltips with CSS rules.

What is the current behavior?

Developers cannot apply CSS to a portion of tooltips because they are created in the cdk-overlay-container. Their only option is to apply CSS globally using .mat-tooltip.

What is the use-case or motivation for changing an existing behavior?

A number of feature requests could probably be resolved if developers had mdTooltipClass
#3389

Metadata

Metadata

Assignees

No one assigned

    Labels

    P5The team acknowledges the request but does not plan to address it, it remains open for discussionfeatureThis issue represents a new feature or feature request rather than a bug or bug fixhelp wantedThe team would appreciate a PR from the community to address this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions