From 077ebbeb33c524cc891d847e1f8002881949c5fc Mon Sep 17 00:00:00 2001 From: Ty Potter Date: Tue, 11 Aug 2015 16:20:12 -0700 Subject: [PATCH] fix(chips): cursor style on static chips 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 --- src/components/chips/chips.scss | 5 ++++- src/components/chips/js/chipsDirective.js | 7 +------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/components/chips/chips.scss b/src/components/chips/chips.scss index d4a814bec99..4c262c8687f 100644 --- a/src/components/chips/chips.scss +++ b/src/components/chips/chips.scss @@ -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') { + cursor: text; + } .md-chip { cursor: default; border-radius: $chip-height / 2; diff --git a/src/components/chips/js/chipsDirective.js b/src/components/chips/js/chipsDirective.js index b6fd6f31550..079222b4cac 100644 --- a/src/components/chips/js/chipsDirective.js +++ b/src/components/chips/js/chipsDirective.js @@ -30,12 +30,7 @@ *
  • Colours for hover, press states (ripple?).
  • * * - * - * * @@ -92,7 +87,7 @@ \