Skip to content

Commit

Permalink
chore: address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
thelostone-mc committed Dec 16, 2019
1 parent e0d626b commit 51237dc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
18 changes: 9 additions & 9 deletions app/assets/v2/css/grants/grant.css
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@
text-decoration: none;
}

.select2-selection__arrow {
.grants-search .select2-selection__arrow {
top: 0 !important;
}

Expand Down Expand Up @@ -306,36 +306,36 @@
margin-left: -33px;
}

.partners {
.grant-partners {
background: #0D0764;
border-radius: 3px;
}

.partners h2 {
.grant-partners h2 {
letter-spacing: 3px;
}

.partners img {
.grant-partners img {
border-radius: 50px;
width: 4rem;
}

.partners .nav-tabs {
.grant-partners .nav-tabs {
border: none;

}

.partners .nav-link,
.nav-tabs .nav-line.active {
.grant-partners .nav-link,
.grant-partners .nav-tabs .nav-line.active {
color: white;
cursor: pointer;
}

.partners .nav-link:hover{
.grant-partners .nav-link:hover {
border: none;
}

.nav-tabs .nav-line.active {
.grant-partners .nav-tabs .nav-line.active {
font-weight: 700;
}

Expand Down
2 changes: 1 addition & 1 deletion app/grants/templates/grants/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ <h1 class="font-title-xl font-weight-semibold">{% trans 'Provide sustainable fun
</div>

{% if current_partners or past_partners %}
<div class="row partners text-white my-5">
<div class="row grant-partners text-white my-5">
<div class="col-12 col-md-9">
<h2 class="text-uppercase font-weight-semibold font-bigger-3 pt-4 mt-2 px-4">
{{ type }} GRANTS CLR MATCHING ROUND 4
Expand Down
3 changes: 0 additions & 3 deletions app/grants/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ def grants(request):

for partner in current_partners:
current_partners_fund += partner.amount
print(partner.amount)

grant_amount = 0
grant_stats = Stat.objects.filter(
Expand Down Expand Up @@ -150,8 +149,6 @@ def grants(request):
{'label': 'Media', 'keyword': 'media', 'count': media_grants_count}
]

print(past_partners)

params = {
'active': 'grants_landing',
'title': matching_live + str(_('Gitcoin Grants Explorer')),
Expand Down

0 comments on commit 51237dc

Please sign in to comment.