diff --git a/.stylelintrc.cjs b/.stylelintrc.cjs index ad4ccb1eb2c..3489a28f007 100644 --- a/.stylelintrc.cjs +++ b/.stylelintrc.cjs @@ -26,9 +26,6 @@ rule-empty-line-before - selector-id-pattern - Turned off. TODO: Turn on this rule and work out regex for BEM syntax. -selector-class-pattern - - Turned off. - TODO: Turn on this rule and work out regex for BEM syntax. less/color-no-invalid-hex less/no-duplicate-variables Both of the above settings are turned off till @@ -58,7 +55,10 @@ module.exports = { }, ], 'selector-id-pattern': null, - 'selector-class-pattern': null, + 'selector-class-pattern': [ + '^[a-z]([a-z0-9-]+)?(__([a-z0-9]+-?)+)?(--([a-z0-9]+-?)+){0,2}$', + { resolveNestedSelectors: true }, + ], 'less/color-no-invalid-hex': null, 'less/no-duplicate-variables': null, }, diff --git a/cfgov/agreements/jinja2/agreements/_database_disclaimer.html b/cfgov/agreements/jinja2/agreements/_database_disclaimer.html index df0079c2a6b..09aaf7c63d4 100755 --- a/cfgov/agreements/jinja2/agreements/_database_disclaimer.html +++ b/cfgov/agreements/jinja2/agreements/_database_disclaimer.html @@ -1,6 +1,6 @@ {% import "v1/includes/molecules/social-media.html" as social_media with context %} -
+

Can't find an issuer?

diff --git a/cfgov/agreements/jinja2/agreements/_need_help.html b/cfgov/agreements/jinja2/agreements/_need_help.html index 88d01bdef08..5edb06a9168 100755 --- a/cfgov/agreements/jinja2/agreements/_need_help.html +++ b/cfgov/agreements/jinja2/agreements/_need_help.html @@ -1,6 +1,6 @@