diff --git a/frontend/src/lib/components/common/button/AnimatedButton.svelte b/frontend/src/lib/components/common/button/AnimatedButton.svelte index ed7fa30a4b..d05f668b82 100644 --- a/frontend/src/lib/components/common/button/AnimatedButton.svelte +++ b/frontend/src/lib/components/common/button/AnimatedButton.svelte @@ -11,7 +11,9 @@ let clientWidth = 0 let clientHeight = 0 - $: circleRadius = Math.sqrt(clientWidth * clientWidth + clientHeight * clientHeight) / 2 + $: circleRadius = Math.ceil( + Math.sqrt(clientWidth * clientWidth + clientHeight * clientHeight) / 2 + )