Skip to content

Commit

Permalink
TCCP: Make institution names uppercase in results
Browse files Browse the repository at this point in the history
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
  • Loading branch information
chosak committed May 15, 2024
1 parent 175b6c5 commit 8d93f0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cfgov/unprocessed/apps/tccp/css/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 8d93f0a

Please sign in to comment.