Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/chips/chips-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ md-chips.md-THEME_NAME-theme {
box-shadow: 0 2px '{{primary-color}}';
}
}
.md-chip {
md-chip {
background: '{{background-300}}';
color: '{{background-800}}';
&.md-focused {
Expand Down
6 changes: 3 additions & 3 deletions src/components/chips/chips.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ $contact-chip-name-width: rem(12) !default;

.md-contact-chips {
.md-chips {
.md-chip {
md-chip {
@include rtl(padding, $contact-chip-padding, rtl-value($contact-chip-padding));
.md-contact-avatar {
@include rtl(float, left, right);
Expand Down Expand Up @@ -63,7 +63,7 @@ $contact-chip-name-width: rem(12) !default;
&:not(.md-readonly) {
cursor: text;

.md-chip:not(.md-readonly) {
md-chip:not(.md-readonly) {
@include rtl-prop(padding-right, padding-left, $chip-remove-padding-right);

._md-chip-content {
Expand All @@ -72,7 +72,7 @@ $contact-chip-name-width: rem(12) !default;
}
}

.md-chip {
md-chip {
cursor: default;
border-radius: $chip-height / 2;
display: block;
Expand Down
2 changes: 1 addition & 1 deletion src/components/chips/demoBasicUsage/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
}

.custom-chips {
.md-chip {
md-chip {
position: relative;
._md-chip-remove-container {
position: absolute;
Expand Down
1 change: 0 additions & 1 deletion src/components/chips/js/chipDirective.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ function MdChip($mdTheming, $mdUtil) {
element.append($mdUtil.processTemplate(hintTemplate));

return function postLink(scope, element, attr, ctrl) {
element.addClass('md-chip');
$mdTheming(element);

if (ctrl) angular.element(element[0].querySelector('._md-chip-content'))
Expand Down