Don't show intro text on details page
This commit is contained in:
1 parent
9898d4bb1d
commit
256197094e
2 files changed
+5
-2
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -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!
|
||||
|
||||
Reference in new issue
Block a user