From 448671fffbcc4a4abff972b086e16ea5d7cffca2 Mon Sep 17 00:00:00 2001 From: Gigi <47110839+DarthGigi@users.noreply.github.com> Date: Wed, 1 May 2024 23:09:43 +0200 Subject: [PATCH] Fix content shifting when the copy button appears on mobile --- src/components/GithubStarButton.svelte | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/components/GithubStarButton.svelte b/src/components/GithubStarButton.svelte index e9d63f05..805e3333 100644 --- a/src/components/GithubStarButton.svelte +++ b/src/components/GithubStarButton.svelte @@ -66,12 +66,14 @@ aria-label={`Star ${REPOSITORY_PATH} on GitHub`} on:click={onButtonClick} > - - - Star + + + {#if isFetchingStarCount || starCount !== 0} -
+