From d455d3a92e49ebde21561e0ddf6332c244cbddd7 Mon Sep 17 00:00:00 2001 From: shahanneda Date: Mon, 8 Aug 2022 22:07:31 -0700 Subject: [PATCH] Fixed wordcloud responsivness --- pages/samplePage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/samplePage.tsx b/pages/samplePage.tsx index 8eab372..fd0f0f2 100644 --- a/pages/samplePage.tsx +++ b/pages/samplePage.tsx @@ -45,7 +45,7 @@ export default function SamplePage() { value: word.value, }))} // For components that we don't want to match the width necessarily we can provide direct values - width={isMobile ? 500 : 1000} + width={isMobile ? width / 1.25 : 1000} height={500} />