Skip to content

Commit

Permalink
project_tile_userprofile: reduce padding for past status fixes #56
Browse files Browse the repository at this point in the history
  • Loading branch information
philli-m committed Jan 26, 2021
1 parent 8a4f542 commit bdd101f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions adhocracy-plus/assets/scss/components/_status-bar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
bottom: 0;
right: 0;
left: 0;

&--sm {
padding: 0.25*$padding;
}
}

.status-bar__status {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ <h3 class="tile__title mb-4" id="project-title-{{ project.pk }}">
<span class="status-bar__status"><i class="fas fa-clock" aria-hidden="true"></i>{% blocktrans with date=project.future_modules.first.module_start.date|date:"d.m.Y" %} Participation: from {{ date }}{% endblocktrans %}</span>
</div>
{% elif project.past_modules %}
<div class="status-item--baseline status-bar__past">
<div class="status-item--baseline status-bar__past status-bar__past--sm">
{% blocktrans %}Participation ended. Read result.{% endblocktrans %}
</div>
{% endif %}
Expand Down

0 comments on commit bdd101f

Please sign in to comment.