Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

fix(chips): cursor style on static chips #4114

Closed
wants to merge 1 commit into from

Conversation

typotter
Copy link
Contributor

Do not set the cursor style on the md-chips element if there are only static chips.
Also remove some TODO docs that have already been done.

fixes #3253

@typotter typotter added the needs: review This PR is waiting on review from the team label Aug 11, 2015
@typotter
Copy link
Contributor Author

@jelbourn care to take a look?

@@ -55,7 +55,10 @@ $contact-chip-name-width: rem(12) !default;
font-size: $chip-font-size;
padding: $chip-wrap-padding;
vertical-align: middle;
cursor: text;

&:not('.static-only') {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be md-static-only

Also, what do you think of instead naming it md-readonly ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually readonly is a good idea. I have another PR that should use this style as well.
Updated. PTAL

Do not set the cursor style on the md-chips element if there are only static chips.
Also remove some TODO docs that have already been done.

fixes angular#3253
@jelbourn
Copy link
Member

LGTM

@typotter typotter added pr: merge ready This PR is ready for a caretaker to review and removed needs: review This PR is waiting on review from the team labels Aug 11, 2015
kennethcachia pushed a commit to kennethcachia/material that referenced this pull request Sep 23, 2015
Do not set the cursor style on the md-chips element if there are only static chips.
Also remove some TODO docs that have already been done.

fixes angular#3253. closes angular#4114.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pr: merge ready This PR is ready for a caretaker to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Static chips should not have cursor text
2 participants