Skip to content

Commit

Permalink
Merge pull request #8402 from cfpb/ans_partially_styled
Browse files Browse the repository at this point in the history
FeatureCards: Move partially-styled-link CSS to Wagtail block
  • Loading branch information
anselmbradford committed May 9, 2024
2 parents d866146 + d97eee5 commit 420cf16
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 31 deletions.
1 change: 0 additions & 1 deletion cfgov/ask_cfpb/jinja2/ask-cfpb/landing-page.html
@@ -1,5 +1,4 @@
{% extends 'v1/layouts/layout-2-1.html' %}
{% import 'v1/includes/atoms/partially-styled-link.html' as partially_styled_link with context %}
{% import 'v1/includes/templates/render_block.html' as render_block with context %}
{% import 'v1/includes/organisms/ask-search.html' as ask_search with context %}

Expand Down
1 change: 0 additions & 1 deletion cfgov/unprocessed/css/on-demand/ask.less
@@ -1,5 +1,4 @@
@import (reference) '../main.less';
@import (less) '../atoms/partially-styled-link.less';

/* ==========================================================================
consumerfinance.gov
Expand Down
@@ -1,3 +1,5 @@
@import (reference) 'cfpb-core.less';

.a-link--partially-styled {
border-bottom-width: 0;

Expand Down
3 changes: 3 additions & 0 deletions cfgov/v1/atomic_elements/molecules.py
Expand Up @@ -566,3 +566,6 @@ class FeatureCard(blocks.StructBlock):
class Meta:
icon = "edit"
template = "v1/includes/molecules/feature-card.html"

class Media:
css = ["partially-styled-link.css"]
29 changes: 0 additions & 29 deletions cfgov/v1/jinja2/v1/includes/atoms/partially-styled-link.html

This file was deleted.

0 comments on commit 420cf16

Please sign in to comment.