diff --git a/app/styles/components/_contribution-details.scss b/app/styles/components/_contribution-details.scss index 80c04b6..5cdc1e9 100644 --- a/app/styles/components/_contribution-details.scss +++ b/app/styles/components/_contribution-details.scss @@ -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; + } } diff --git a/app/templates/dashboard.hbs b/app/templates/dashboard.hbs index 4aba212..6a5b81f 100644 --- a/app/templates/dashboard.hbs +++ b/app/templates/dashboard.hbs @@ -1,5 +1,5 @@ {{#if showIntroText}} -
+

Welcome to the contribution dashboard of the Kosmos project! diff --git a/app/templates/dashboard/contributions/show.hbs b/app/templates/dashboard/contributions/show.hbs index 73a1de2..9760897 100644 --- a/app/templates/dashboard/contributions/show.hbs +++ b/app/templates/dashboard/contributions/show.hbs @@ -42,7 +42,7 @@ kredits will be issued.

- {{link-to "Re-submit contribution …" "contributions.resubmit" model class="button small green"}}. + {{link-to "Re-submit contribution …" "contributions.resubmit" model class="button small green"}}

{{/if}} @@ -50,7 +50,7 @@

- {{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}}