From 0a8e89c782adab172b4bf2f2e32cfaef5fb0c129 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Mon, 18 Jan 2016 10:32:27 -0400 Subject: [PATCH] Only append label if this exists in hero-icon Currently, an empty element was appended to hero-icon template to hold the label even if this didn't exist, causing some vertical bottom spacing. We use Polymer's `dom-if` to conditional show this element. The label was changed to be passed as an HTML property since it seems to be really difficult to access the inner HTML of a polymer element programatically. --- lib/components/hero-icon.html | 11 ++++++----- lib/index.html | 6 +++--- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/lib/components/hero-icon.html b/lib/components/hero-icon.html index 5088e845..a2956846 100644 --- a/lib/components/hero-icon.html +++ b/lib/components/hero-icon.html @@ -14,11 +14,9 @@
-
- - - -
+