Minor fix
This commit is contained in:
parent
fdca7a54e7
commit
cf3f7dd599
|
@ -32,7 +32,6 @@ import { Header } from "@/components/Header";
|
||||||
import { PieChart } from "@/components/PieChart";
|
import { PieChart } from "@/components/PieChart";
|
||||||
import { QuotationCarousel } from "@/components/QuotationCarousel";
|
import { QuotationCarousel } from "@/components/QuotationCarousel";
|
||||||
import { SectionHeader } from "@/components/SectionHeader";
|
import { SectionHeader } from "@/components/SectionHeader";
|
||||||
import { WordCloud } from "@/components/WordCloud";
|
|
||||||
|
|
||||||
import { Color } from "../utils/Color";
|
import { Color } from "../utils/Color";
|
||||||
|
|
||||||
|
@ -63,20 +62,15 @@ export default function Demographics() {
|
||||||
[Color.secondaryAccentLight]: Color.secondaryAccent,
|
[Color.secondaryAccentLight]: Color.secondaryAccent,
|
||||||
}}
|
}}
|
||||||
width={barGraphWidth(isMobile, pageWidth)}
|
width={barGraphWidth(isMobile, pageWidth)}
|
||||||
height={500}
|
height={DefaultProp.graphHeight}
|
||||||
margin={{
|
margin={{ ...barGraphMargin, ...{ bottom: 100 } }}
|
||||||
top: 20,
|
|
||||||
bottom: 100,
|
|
||||||
left: 50,
|
|
||||||
right: 20,
|
|
||||||
}}
|
|
||||||
/>
|
/>
|
||||||
</ComponentWrapper>
|
</ComponentWrapper>
|
||||||
|
|
||||||
<ComponentWrapper
|
<ComponentWrapper
|
||||||
heading="Which drugs have you tried/used?"
|
heading="Which drugs have you tried/used?"
|
||||||
bodyText="A lot of students also experiment with substances during university. However, we can see that most students have not tried drugs that are more harsh than Marijuana, such as nicotine, cigarettes, or mushrooms."
|
bodyText="A lot of students also experiment with substances during university. However, we can see that most students have not tried drugs that are more harsh than Marijuana, such as nicotine, cigarettes, or mushrooms."
|
||||||
align="right"
|
align="center"
|
||||||
noBackground
|
noBackground
|
||||||
>
|
>
|
||||||
<GroupedBarGraphVertical
|
<GroupedBarGraphVertical
|
||||||
|
@ -87,14 +81,9 @@ export default function Demographics() {
|
||||||
[Color.primaryAccentLight]: Color.primaryAccent,
|
[Color.primaryAccentLight]: Color.primaryAccent,
|
||||||
[Color.secondaryAccentLight]: Color.secondaryAccent,
|
[Color.secondaryAccentLight]: Color.secondaryAccent,
|
||||||
}}
|
}}
|
||||||
width={500}
|
width={barGraphWidth(isMobile, pageWidth)}
|
||||||
height={400}
|
height={DefaultProp.graphHeight}
|
||||||
margin={{
|
margin={{ ...barGraphMargin, ...{ bottom: 60 } }}
|
||||||
top: 20,
|
|
||||||
bottom: 40,
|
|
||||||
left: 50,
|
|
||||||
right: 20,
|
|
||||||
}}
|
|
||||||
/>
|
/>
|
||||||
</ComponentWrapper>
|
</ComponentWrapper>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue