Skip to content

Shrink font further on long ward-leader names#357

Open
c-tonneslan wants to merge 1 commit into
CodeForPhilly:masterfrom
c-tonneslan:fix/shrink-long-ward-leader-names
Open

Shrink font further on long ward-leader names#357
c-tonneslan wants to merge 1 commit into
CodeForPhilly:masterfrom
c-tonneslan:fix/shrink-long-ward-leader-names

Conversation

@c-tonneslan
Copy link
Copy Markdown

Per @pwolanin's #311. The card font size was just 22px → 20px once a name hit 28 characters, which isn't small enough for names like Katherine Gilmore-Richardson (the leading K was getting clipped past the left edge of the card).

Stepped the tiers down further so 28+ char names render at 18px and 32+ char names at 16px. Same right-anchored layout, just smaller text for the long cases.

Closes #311.

The card's name font size was just 22px down to 20px once names
reached 28 characters, which isn't small enough for names like
'Katherine Gilmore-Richardson' (the 'K' was getting clipped at
the left edge of the card, per CodeForPhilly#311).

Step it down further: 18px at 28+, 16px at 32+, so the longest
names still fit inside the card.

Closes CodeForPhilly#311.

Signed-off-by: Charlie Tonneslan <cst0520@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Long ward leader name can be cut off

1 participant