First pass at fixing large type by adding maxFontSizeMultiplier (#10037)

This commit is contained in:
Samuel Newman
2026-03-10 23:39:02 +02:00
committed by GitHub
parent 6187e79b0e
commit 8b67a3ec2e
11 changed files with 41 additions and 56 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ export function LabelsBtn({
msg`Opens a dialog to add a content warning to your post`,
)}>
<ButtonIcon icon={hasLabel ? Check : Shield_Stroke2_Corner0_Rounded} />
<ButtonText numberOfLines={1}>
<ButtonText numberOfLines={1} maxFontSizeMultiplier={2}>
{labels.length > 0 ? (
<Trans>Labels added</Trans>
) : (