From 7da8b48d95e86c5c278e416cc8e7bf3ef72a70d1 Mon Sep 17 00:00:00 2001 From: Tom Ladendorf Date: Wed, 7 Sep 2016 21:46:24 +0200 Subject: [PATCH 1/2] Fixed links problem by reversing changes --- app/directives/challenge-links/challenge-links.directive.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/directives/challenge-links/challenge-links.directive.js b/app/directives/challenge-links/challenge-links.directive.js index e5d4035de..04a25d70c 100644 --- a/app/directives/challenge-links/challenge-links.directive.js +++ b/app/directives/challenge-links/challenge-links.directive.js @@ -12,11 +12,6 @@ import angular from 'angular' scope: { challenge: '=', view: '=' - }, - link: function(scope, element, attrs) { - element.on('click', function() { - window.location.href = $(this).attr('href') - }) } } }) From aec9f68a45ce3e221ce3ebd36c144f7650c5f917 Mon Sep 17 00:00:00 2001 From: Tom Ladendorf Date: Thu, 8 Sep 2016 00:02:46 +0200 Subject: [PATCH 2/2] css tweaks --- assets/css/directives/tc-banner.scss | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/assets/css/directives/tc-banner.scss b/assets/css/directives/tc-banner.scss index d80ce4820..303b1033b 100644 --- a/assets/css/directives/tc-banner.scss +++ b/assets/css/directives/tc-banner.scss @@ -155,14 +155,22 @@ $tco-color-dark: #ea690b; padding-top: 50px; .title { - font-size: 36px; - margin-bottom: 5px; margin-top: 10px; + @include sofia-pro-bold; + color: $white; } .subtitle { margin-top: 20px; width: 450px; + font-size: 20px; + @extend .title; + @include sofia-pro-regular; + } + + .description { + margin-top: 20px; + margin-bottom: 5px; } .cta {