From 55367cdc9745d2ee6321143e60375e3bbc24343e Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Wed, 11 May 2016 13:33:34 -0400 Subject: [PATCH] (css) Improve custom contact chip --- .../scss/components/chips/chips.scss | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/UI/WebServerResources/scss/components/chips/chips.scss b/UI/WebServerResources/scss/components/chips/chips.scss index 31af961d3..1eabd79ff 100644 --- a/UI/WebServerResources/scss/components/chips/chips.scss +++ b/UI/WebServerResources/scss/components/chips/chips.scss @@ -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 {