From 86b0c461aeac2d6699edd7a4f0bb1cdf535243ed Mon Sep 17 00:00:00 2001 From: octavioamu Date: Fri, 1 May 2020 11:56:27 -0300 Subject: [PATCH] fix cards and missing div --- app/assets/v2/css/gitcoin.css | 5 +++++ app/assets/v2/css/town_square.css | 4 ++-- app/retail/templates/shared/activity.html | 10 +++------- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/app/assets/v2/css/gitcoin.css b/app/assets/v2/css/gitcoin.css index 4b415ec20fe..77135251dfb 100644 --- a/app/assets/v2/css/gitcoin.css +++ b/app/assets/v2/css/gitcoin.css @@ -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; +} diff --git a/app/assets/v2/css/town_square.css b/app/assets/v2/css/town_square.css index f11dff91ef3..09de1986e15 100644 --- a/app/assets/v2/css/town_square.css +++ b/app/assets/v2/css/town_square.css @@ -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 { diff --git a/app/retail/templates/shared/activity.html b/app/retail/templates/shared/activity.html index 0d79afcbcf9..b6c563f65c5 100644 --- a/app/retail/templates/shared/activity.html +++ b/app/retail/templates/shared/activity.html @@ -18,12 +18,7 @@ {% load humanize i18n static grants_extra %}
- {% if row.activity_type == 'new_bounty' %} -
- New Bounty - -
- {% endif %} +
@@ -467,6 +462,7 @@
{% endif %}
+
{% elif row.activity_type == 'new_kudos' %}
@@ -542,7 +538,7 @@
{% elif row.metadata.resource.type == 'content' %}
-
+
{% if not row.metadata.resource.image or row.metadata.resource.image == 'undefined' %}