From c80f3d1994e4dfe13bf5c355f0bd0b62454a0f57 Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Sun, 10 Sep 2023 19:30:42 -0500 Subject: [PATCH] Prevent layout shift with share button loader --- src/photo/SharePhotoButton.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/photo/SharePhotoButton.tsx b/src/photo/SharePhotoButton.tsx index 705451cf..d2bb671f 100644 --- a/src/photo/SharePhotoButton.tsx +++ b/src/photo/SharePhotoButton.tsx @@ -33,6 +33,7 @@ export default function SharePhotoButton({ router.push(shareRoute))} isLoading={isPending} className={cc( + 'min-h-[1.75rem]', 'active:translate-y-[1px]', 'text-gray-500 active:text-gray-600', 'dark:text-gray-400 dark:active:text-gray-300',