From cf3f7dd599b5dc6a9040b34be761fc442a59fd7f Mon Sep 17 00:00:00 2001 From: e26chiu Date: Mon, 5 Dec 2022 23:38:22 -0500 Subject: [PATCH] Minor fix --- pages/intimacy-and-drugs.tsx | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/pages/intimacy-and-drugs.tsx b/pages/intimacy-and-drugs.tsx index e370ebd..0934e6c 100644 --- a/pages/intimacy-and-drugs.tsx +++ b/pages/intimacy-and-drugs.tsx @@ -32,7 +32,6 @@ import { Header } from "@/components/Header"; import { PieChart } from "@/components/PieChart"; import { QuotationCarousel } from "@/components/QuotationCarousel"; import { SectionHeader } from "@/components/SectionHeader"; -import { WordCloud } from "@/components/WordCloud"; import { Color } from "../utils/Color"; @@ -63,20 +62,15 @@ export default function Demographics() { [Color.secondaryAccentLight]: Color.secondaryAccent, }} width={barGraphWidth(isMobile, pageWidth)} - height={500} - margin={{ - top: 20, - bottom: 100, - left: 50, - right: 20, - }} + height={DefaultProp.graphHeight} + margin={{ ...barGraphMargin, ...{ bottom: 100 } }} />