Don't show intro text on details page

This commit is contained in:
2019-11-28 21:59:07 +01:00
parent 9898d4bb1d
commit 256197094e
2 changed files with 5 additions and 2 deletions
@@ -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 // showing details
@include media-max(small) { @include media-max(small) {
#dashboard.with-details { #dashboard.with-details {
@@ -94,4 +94,7 @@ section#contribution-details {
display: none; display: none;
} }
} }
#intro.with-details {
display: none;
}
} }
+1 -1
View File
@@ -1,5 +1,5 @@
{{#if showIntroText}} {{#if showIntroText}}
<div id="intro"> <div id="intro" class={{if showDetailsPane "with-details"}}>
<h2> <h2>
Welcome to the contribution dashboard of the Welcome to the contribution dashboard of the
<a href="https://kosmos.org" target="_blank" rel="noopener">Kosmos</a> project! <a href="https://kosmos.org" target="_blank" rel="noopener">Kosmos</a> project!