From 6133b01d4dd767b5c8e6b4c5ab2327c5c2dca738 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Tue, 21 Feb 2017 21:16:15 -0500 Subject: [PATCH] Fix transparent icons in entity autocomplete This is not a *complete* solution, as it still won't show the nice CSS-based avatars, but that can be done in a followup --- static/css/directives/ui/entity-search.css | 6 ------ static/js/directives/ui/entity-search.js | 4 ++-- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/static/css/directives/ui/entity-search.css b/static/css/directives/ui/entity-search.css index 22b46a3e3..ff0290b42 100644 --- a/static/css/directives/ui/entity-search.css +++ b/static/css/directives/ui/entity-search.css @@ -88,12 +88,6 @@ top: -2px; } -.entity-mini-listing i.fa .avatar-image { - position: absolute; - top: -2px; - left: 0px; -} - .entity-mini-listing .warning { margin-top: 6px; font-size: 10px; diff --git a/static/js/directives/ui/entity-search.js b/static/js/directives/ui/entity-search.js index 178062a3b..eb6453d71 100644 --- a/static/js/directives/ui/entity-search.js +++ b/static/js/directives/ui/entity-search.js @@ -287,8 +287,8 @@ angular.module('quay').directive('entitySearch', function () { 'suggestion': function (datum) { template = '
'; if ((datum.entity.kind == 'user' && !datum.entity.is_robot) || (datum.entity.kind == 'org')) { - template += ''; } else if (datum.entity.kind == 'external') { template += '';