From 8d93f0a0fc672cfc5c9e408500307491c9c83942 Mon Sep 17 00:00:00 2001 From: Andy Chosak Date: Wed, 15 May 2024 10:25:47 -0400 Subject: [PATCH] TCCP: Make institution names uppercase in results When we list cards on the TCCP results view, we want the institution names to be uppercase. Previously we were counting on their names being uppercase in the source dataset, but the most recent dataset have some that are mixed case. To test, sort alphabetically using the latest dataset: http://localhost:8000/consumer-tools/credit-cards/explore-cards/cards/?credit_tier=Credit%20scores%20from%20620%20to%20719&location=&ordering=product_name --- cfgov/unprocessed/apps/tccp/css/main.less | 1 + 1 file changed, 1 insertion(+) diff --git a/cfgov/unprocessed/apps/tccp/css/main.less b/cfgov/unprocessed/apps/tccp/css/main.less index e81c82df77b..c691db96fb7 100644 --- a/cfgov/unprocessed/apps/tccp/css/main.less +++ b/cfgov/unprocessed/apps/tccp/css/main.less @@ -169,6 +169,7 @@ color: var(--gray); font-size: unit((16px / @base-font-size-px), rem); font-weight: 400; + text-transform: uppercase; } .m-card__subtitle {