From e4ad544b948d38edb1c04f1fe9ab93a69e608d20 Mon Sep 17 00:00:00 2001 From: vikasrohit Date: Mon, 1 Jun 2015 17:33:05 +0530 Subject: [PATCH] SUP-674, Shrink header Added both options 1. Reduced height of the header 2. Hide the challenges widget when there is no active challenge for the user --- src/css/my-dashboard.css | 5 +++++ src/js/app/my-dashboard/head.html | 4 ++-- src/js/app/my-dashboard/index.html | 18 +++++++++--------- .../controllers/member-program-controller.js | 2 +- .../js/controllers/my-challenges-controller.js | 3 ++- .../js/controllers/welcome-back-controller.js | 2 +- .../my-dashboard/partials/my-challenges.html | 2 +- 7 files changed, 21 insertions(+), 15 deletions(-) diff --git a/src/css/my-dashboard.css b/src/css/my-dashboard.css index 92ff7a32..27445d88 100644 --- a/src/css/my-dashboard.css +++ b/src/css/my-dashboard.css @@ -111,6 +111,11 @@ background-position: 50% 50%; color: #fff; } +@media only screen and (min-width: 768px) { + .member-profile-header { + padding: 15px 0; + } +} .member-profile { } diff --git a/src/js/app/my-dashboard/head.html b/src/js/app/my-dashboard/head.html index 426e6286..5efb9eae 100644 --- a/src/js/app/my-dashboard/head.html +++ b/src/js/app/my-dashboard/head.html @@ -1,3 +1,3 @@ - + - \ No newline at end of file + \ No newline at end of file diff --git a/src/js/app/my-dashboard/index.html b/src/js/app/my-dashboard/index.html index 1e55ec31..dd467559 100644 --- a/src/js/app/my-dashboard/index.html +++ b/src/js/app/my-dashboard/index.html @@ -1,6 +1,6 @@ @@header -
+
-
+
@@ -41,21 +41,21 @@
- -
+
-
+
-
+
-