diff --git a/web/components/contract/tip-button.tsx b/web/components/contract/tip-button.tsx index 61a74e74..c34f88ff 100644 --- a/web/components/contract/tip-button.tsx +++ b/web/components/contract/tip-button.tsx @@ -17,9 +17,15 @@ export function TipButton(props: { const { tipAmount, totalTipped, userTipped, isCompact, onClick, disabled } = props + const tipDisplay = shortFormatNumber(Math.ceil(totalTipped / 10)) + return ( 99 + tipDisplay.length > 2 ? 'text-[0.4rem] sm:text-[0.5rem]' : 'sm:text-2xs text-[0.5rem]' )} > - {shortFormatNumber(totalTipped)} + {tipDisplay} )}