Merge pull request #169 from 67P/feature/163-small_screen_details_new
Show contributor/contribution details on mobile
This commit was merged in pull request #169.
This commit is contained in:
@@ -84,5 +84,17 @@ section#contribution-details {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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!
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
kredits will be issued.
|
kredits will be issued.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
{{link-to "Re-submit contribution …" "contributions.resubmit" model class="button small green"}}.
|
{{link-to "Re-submit contribution …" "contributions.resubmit" model class="button small green"}}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
@@ -50,7 +50,7 @@
|
|||||||
|
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
<p>
|
<p>
|
||||||
{{link-to "Copy & edit as new" "contributions.resubmit" model class="button small"}}.
|
{{link-to "Copy & edit as new" "contributions.resubmit" model class="button small"}}
|
||||||
{{#if model.ipfsHash}}
|
{{#if model.ipfsHash}}
|
||||||
<a href="{{ipfsGatewayUrl}}/{{model.ipfsHash}}"
|
<a href="{{ipfsGatewayUrl}}/{{model.ipfsHash}}"
|
||||||
class="button small" target="_blank" rel="noopener">
|
class="button small" target="_blank" rel="noopener">
|
||||||
|
|||||||
Reference in New Issue
Block a user