From 256197094ea3fd57c5192d51ee1dcaa07f633f4e Mon Sep 17 00:00:00 2001 From: Garret Alfert Date: Thu, 28 Nov 2019 21:59:07 +0100 Subject: [PATCH] Don't show intro text on details page --- app/styles/components/_contribution-details.scss | 5 ++++- app/templates/dashboard.hbs | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/styles/components/_contribution-details.scss b/app/styles/components/_contribution-details.scss index 49dfb27..5cdc1e9 100644 --- a/app/styles/components/_contribution-details.scss +++ b/app/styles/components/_contribution-details.scss @@ -86,7 +86,7 @@ section#contribution-details { } } -// On small screens, hide contributor and contributions list when +// On small screens, hide intro text, contributor and contributions list when // showing details @include media-max(small) { #dashboard.with-details { @@ -94,4 +94,7 @@ section#contribution-details { display: none; } } + #intro.with-details { + display: none; + } } diff --git a/app/templates/dashboard.hbs b/app/templates/dashboard.hbs index 4aba212..6a5b81f 100644 --- a/app/templates/dashboard.hbs +++ b/app/templates/dashboard.hbs @@ -1,5 +1,5 @@ {{#if showIntroText}} -
+

Welcome to the contribution dashboard of the Kosmos project!