From 4850f1a9b09a7f3f754e09d3c3e948de555767a7 Mon Sep 17 00:00:00 2001 From: "Daniel J. Dufour" Date: Tue, 6 Mar 2018 15:03:44 -0500 Subject: [PATCH] align languages in help wanted card and only display impact and other info if present --- .../help-wanted/card/help-wanted-card.styles.scss | 2 +- .../help-wanted/card/help-wanted-card.template.html | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/app/components/help-wanted/card/help-wanted-card.styles.scss b/src/app/components/help-wanted/card/help-wanted-card.styles.scss index 7866a89d..891a53e2 100644 --- a/src/app/components/help-wanted/card/help-wanted-card.styles.scss +++ b/src/app/components/help-wanted/card/help-wanted-card.styles.scss @@ -34,7 +34,7 @@ dl { margin-bottom: 0.25rem; - padding: 0.75rem 0.75rem; + padding: 0.75rem 0rem; > div { display: inline-block; diff --git a/src/app/components/help-wanted/card/help-wanted-card.template.html b/src/app/components/help-wanted/card/help-wanted-card.template.html index 4042d921..3d6d1689 100644 --- a/src/app/components/help-wanted/card/help-wanted-card.template.html +++ b/src/app/components/help-wanted/card/help-wanted-card.template.html @@ -3,26 +3,26 @@

{{ item.title }}

Last updated {{ item.updated | date: "MMM d 'at' h':'mm a"}}

{{ item.description | truncate : 250}}

-
+
Language:
{{ item.languages.join(', ') }}
-
+
Skill Level:
{{ item.skill | capitalize }}
-
+
Effort:
{{ item.effort }}
- -
+ +
Impact:
{{ item.impact | capitalize }}
- +