Skip to content

Commit

Permalink
Rendering EOY banner on donate pages (#13307)
Browse files Browse the repository at this point in the history
* rendering eoy banner on donate pages

* removed redundant img rule
  • Loading branch information
danielfmiranda authored Dec 12, 2024
1 parent d676a32 commit 455a6d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
9 changes: 2 additions & 7 deletions network-api/networkapi/donate/pagemodels/base_page.py
Original file line number Diff line number Diff line change
@@ -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
7 changes: 3 additions & 4 deletions source/sass/donate/donate-main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
// Non-React Components
@import "../components/primary-nav";

// Site-wide
@import "../resets";

// Misc
@import "../cms";

Expand Down Expand Up @@ -48,10 +51,6 @@ section {
display: block;
}

img {
max-width: 100%;
}

#view-landing .intro .rich-text {
@apply medium:tw-body-large;
}

0 comments on commit 455a6d3

Please sign in to comment.