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

add mdTooltipClass to allow CSS customization of tooltips #4601

Closed
arlowhite opened this issue May 16, 2017 · 2 comments · Fixed by #4893
Closed

add mdTooltipClass to allow CSS customization of tooltips #4601

arlowhite opened this issue May 16, 2017 · 2 comments · Fixed by #4893
Labels
feature This issue represents a new feature or feature request rather than a bug or bug fix help wanted The team would appreciate a PR from the community to address this issue P5 The team acknowledges the request but does not plan to address it, it remains open for discussion

Comments

@arlowhite
Copy link

arlowhite commented May 16, 2017

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

@jelbourn jelbourn added feature This issue represents a new feature or feature request rather than a bug or bug fix help wanted The team would appreciate a PR from the community to address this issue P5 The team acknowledges the request but does not plan to address it, it remains open for discussion labels May 16, 2017
@devversion
Copy link
Member

Developers would still need to disable the view encapsulation to reach to the tooltip overlay element.

Or is the main reason to be able to differentiate between different tooltips?

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature This issue represents a new feature or feature request rather than a bug or bug fix help wanted The team would appreciate a PR from the community to address this issue P5 The team acknowledges the request but does not plan to address it, it remains open for discussion
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants