Show contributor/contribution details on mobile #167

Closed
galfert wants to merge 2 commits from feature/163-small_screen_details into master
2 changed files with 5 additions and 2 deletions
Showing only changes of commit 6f99e8abd3 - Show all commits
@@ -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!