Skip to content

Commit

Permalink
Don't show intro text on details page
Browse files Browse the repository at this point in the history
  • Loading branch information
galfert committed Nov 29, 2019
1 parent 9898d4b commit 2561970
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion app/styles/components/_contribution-details.scss
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,15 @@ 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 {
#contributions, #stats {
display: none;
}
}
#intro.with-details {
display: none;
}
}
2 changes: 1 addition & 1 deletion app/templates/dashboard.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{#if showIntroText}}
<div id="intro">
<div id="intro" class={{if showDetailsPane "with-details"}}>
<h2>
Welcome to the contribution dashboard of the
<a href="https://kosmos.org" target="_blank" rel="noopener">Kosmos</a> project!
Expand Down

0 comments on commit 2561970

Please sign in to comment.