Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FeatureCards: Move partially-styled-link CSS to Wagtail block #8402

Merged
merged 2 commits into from
May 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion cfgov/ask_cfpb/jinja2/ask-cfpb/landing-page.html
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@import (reference) '../main.less';
@import (less) '../atoms/partially-styled-link.less';

/* ==========================================================================
consumerfinance.gov
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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.