From f309481a43307b1e2b7f77cd418498cacd8022d2 Mon Sep 17 00:00:00 2001 From: Arthur Vivian Date: Mon, 8 Nov 2021 13:32:33 +0000 Subject: [PATCH] Add verticalAlign = top to canvas to prevent canvas growth on resize --- src/hooks/useRive.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useRive.tsx b/src/hooks/useRive.tsx index 1c01bf0..131ba33 100644 --- a/src/hooks/useRive.tsx +++ b/src/hooks/useRive.tsx @@ -36,7 +36,7 @@ function RiveComponent({ style={'className' in rest ? undefined : containerStyle} {...rest} > - + ); }