Closed wpears closed 3 weeks ago
What do you think about adding a small utility imported into https://github.com/cfpb/consumerfinance.gov/blob/main/cfgov/unprocessed/apps/rural-or-underserved-tool/js/common.js that converts result.type
from camelCase to kebab-case? Then the classes could be kebab and consistent with the rest of the CSS.
I'd kinda prefer to leave this as is. Feels like a little speedbump to me that something is different and some wonky JS is touching the classes.
Are the notRuralCase
and notFoundCase
classes even used?
Are the notRuralCase and notFoundCase classes even used?
Closes https://github.local/CFGOV/platform/issues/4589 This got introduced in https://github.com/cfpb/consumerfinance.gov/pull/8274
rout does some kinda nasty string concatenation to build up selectors that would have been missed in find/replace.
This fixes counts for me: