From d448d1a6d660e4ef2f7861ba64278af654333715 Mon Sep 17 00:00:00 2001 From: Wyatt Pearsall Date: Mon, 6 May 2024 10:09:18 -0400 Subject: [PATCH] Include chart styling on mpt pages and remove chart import from mpt styles --- .../css/on-demand/mortgage-performance-trends.less | 4 +--- cfgov/v1/atomic_elements/organisms.py | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/cfgov/unprocessed/css/on-demand/mortgage-performance-trends.less b/cfgov/unprocessed/css/on-demand/mortgage-performance-trends.less index 4f323f6bfc3..20baf84eec2 100644 --- a/cfgov/unprocessed/css/on-demand/mortgage-performance-trends.less +++ b/cfgov/unprocessed/css/on-demand/mortgage-performance-trends.less @@ -1,6 +1,4 @@ -// Import external cfpb-chart-builder stylesheet -// This is also imported by the chart block (in chart.less) -@import url('cfpb-chart-builder.less'); +@import (reference) 'cfpb-core.less'; .o-mp-map { border: 1px solid var(--gray-40); diff --git a/cfgov/v1/atomic_elements/organisms.py b/cfgov/v1/atomic_elements/organisms.py index 241dd0010bb..6aabcc93739 100644 --- a/cfgov/v1/atomic_elements/organisms.py +++ b/cfgov/v1/atomic_elements/organisms.py @@ -962,7 +962,7 @@ class Meta: class Media: js = ["mortgage-performance-trends.js"] - css = ["mortgage-performance-trends.css"] + css = ["mortgage-performance-trends.css", "chart.css"] class MortgageMapBlock(MortgageChartBlock):