(css) Improve custom contact chip

This commit is contained in:
Francis Lachapelle
2016-05-11 13:33:34 -04:00
parent dc868e412e
commit 55367cdc97

View File

@@ -17,9 +17,11 @@ md-chips {
&:hover {
cursor: pointer;
}
position: absolute;
right: 0;
margin: (($chip-height - 24) / 2);
height: $chip-delete-icon-size;
width: $chip-delete-icon-size;
line-height: $chip-delete-icon-size;
}
}
}
@@ -64,20 +66,6 @@ md-chips {
}
}
// Adjust avatar size according to chips dimensions
.md-contact-chips {
.md-chips {
.md-chip {
.md-contact-avatar {
md-icon {
height: ($chip-height * .75);
margin: ($chip-height * .25/2);
}
}
}
}
}
// In the autocompletion menu, don't limit the contact name to a fixed width
// and show the email address right after it
.md-contact-suggestion {