Show contributor/contribution details on mobile
Refs #163 On small screens, when selecting a contribution or contributor, the lists are hidden and only the details are shown.
This commit is contained in:
@@ -84,5 +84,14 @@ section#contribution-details {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// On small screens, hide contributor and contributions list when
|
||||||
|
// showing details
|
||||||
|
@include media-max(small) {
|
||||||
|
#dashboard.with-details {
|
||||||
|
#contributions, #stats {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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