From 084913e90eb9b8e1a773c3dc227d68bd2e5c91cc Mon Sep 17 00:00:00 2001 From: danielfmiranda Date: Wed, 11 Dec 2024 18:09:53 -0800 Subject: [PATCH 1/2] rendering eoy banner on donate pages --- network-api/networkapi/donate/pagemodels/base_page.py | 9 ++------- source/sass/donate/donate-main.scss | 3 +++ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/network-api/networkapi/donate/pagemodels/base_page.py b/network-api/networkapi/donate/pagemodels/base_page.py index 3c98c15ee42..36c0c11dde6 100644 --- a/network-api/networkapi/donate/pagemodels/base_page.py +++ b/network-api/networkapi/donate/pagemodels/base_page.py @@ -1,11 +1,6 @@ -from wagtail.models import Page +from networkapi.wagtailpages.pagemodels.base import BasePage -from networkapi.wagtailpages.models import FoundationMetadataPageMixin -from networkapi.wagtailpages.pagemodels.mixin.foundation_navigation import ( - FoundationNavigationPageMixin, -) - -class BaseDonationPage(FoundationMetadataPageMixin, FoundationNavigationPageMixin, Page): +class BaseDonationPage(BasePage): class Meta: abstract = True diff --git a/source/sass/donate/donate-main.scss b/source/sass/donate/donate-main.scss index f58d731642e..790b832654b 100644 --- a/source/sass/donate/donate-main.scss +++ b/source/sass/donate/donate-main.scss @@ -12,6 +12,9 @@ // Non-React Components @import "../components/primary-nav"; +// Site-wide +@import "../resets"; + // Misc @import "../cms"; From 9d2babe6830678de0eb41a820948e19087b59261 Mon Sep 17 00:00:00 2001 From: danielfmiranda Date: Wed, 11 Dec 2024 18:25:41 -0800 Subject: [PATCH 2/2] removed redundant img rule --- source/sass/donate/donate-main.scss | 4 ---- 1 file changed, 4 deletions(-) diff --git a/source/sass/donate/donate-main.scss b/source/sass/donate/donate-main.scss index 790b832654b..03992aa9013 100644 --- a/source/sass/donate/donate-main.scss +++ b/source/sass/donate/donate-main.scss @@ -51,10 +51,6 @@ section { display: block; } -img { - max-width: 100%; -} - #view-landing .intro .rich-text { @apply medium:tw-body-large; }