Skip to content

Commit

Permalink
fix cards and missing div
Browse files Browse the repository at this point in the history
  • Loading branch information
octavioamu committed May 1, 2020
1 parent 589d38c commit 86b0c46
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
5 changes: 5 additions & 0 deletions app/assets/v2/css/gitcoin.css
Original file line number Diff line number Diff line change
Expand Up @@ -926,3 +926,8 @@ textarea.status-textarea {
.status-menu button:hover {
color: var(--townsquare-link-color);
}


.dark-mode .bg-light {
background-color: var(--bg-shade-0)!important;
}
4 changes: 2 additions & 2 deletions app/assets/v2/css/town_square.css
Original file line number Diff line number Diff line change
Expand Up @@ -1089,10 +1089,10 @@ body.green.offer_view .announce {

.card-ribbon {
margin-top: -14px;
right: -10px;
margin-left: 10px;
width: 110px;
margin-bottom: 10px;
position: absolute;
position: relative;
}

.logo-metacard {
Expand Down
10 changes: 3 additions & 7 deletions app/retail/templates/shared/activity.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,7 @@

{% load humanize i18n static grants_extra %}
<div class="box d-block m-0 mb-3 activity {{ row.activity_type }} infinite-item px-sm-3 py-4" data-pk="{{row.pk}}">
{% if row.activity_type == 'new_bounty' %}
<div class="align-items-baseline d-flex font-weight-bold justify-content-between mb-2 mt-n3">
<b>New Bounty</b>
<i class="fad fa-sparkles" style="right: 0.2em; color: #3e00ff;"></i>
</div>
{% endif %}

<div class="activity_main row">
<div class="col-2 p-0">
<div class="activity-avatar">
Expand Down Expand Up @@ -467,6 +462,7 @@
</div>
{% endif %}
</div>
</div>
</div>
{% elif row.activity_type == 'new_kudos' %}
<div class="mt-1 mb-2">
Expand Down Expand Up @@ -542,7 +538,7 @@
</div>
{% elif row.metadata.resource.type == 'content' %}
<div class="mt-1 mb-2">
<div class="row align-items-center content">
<div class="row align-items-center bg-light content">
<div class="col-12 col-md-3 text-center">
{% if not row.metadata.resource.image or row.metadata.resource.image == 'undefined' %}
<img class="py-2" style="max-height: 7rem;" src="{% static 'v2/images/team/gitcoinbot.png' %}">
Expand Down

0 comments on commit 86b0c46

Please sign in to comment.