Merge WordCloudWidth changes
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
451845f87d
commit
2f18dcc738
|
@ -43,6 +43,7 @@ import {
|
|||
pieChartProps,
|
||||
barGraphMargin,
|
||||
barGraphWidth,
|
||||
wordCloudWidth,
|
||||
} from "utils/defaultProps";
|
||||
import { useWindowDimensions } from "utils/getWindowDimensions";
|
||||
import { useIsMobile } from "utils/isMobile";
|
||||
|
@ -156,7 +157,7 @@ export default function Academics() {
|
|||
>
|
||||
<WordCloud
|
||||
data={A8}
|
||||
width={isMobile ? pageWidth / 1.5 : 800}
|
||||
width={wordCloudWidth(isMobile, pageWidth)}
|
||||
height={DefaultProp.graphHeight}
|
||||
wordPadding={7}
|
||||
desktopMaxFontSize={75}
|
||||
|
@ -171,7 +172,7 @@ export default function Academics() {
|
|||
>
|
||||
<WordCloud
|
||||
data={A9}
|
||||
width={isMobile ? pageWidth / 1.5 : 800}
|
||||
width={wordCloudWidth(isMobile, pageWidth)}
|
||||
height={DefaultProp.graphHeight}
|
||||
wordPadding={12}
|
||||
desktopMaxFontSize={80}
|
||||
|
@ -186,7 +187,7 @@ export default function Academics() {
|
|||
>
|
||||
<WordCloud
|
||||
data={A10}
|
||||
width={isMobile ? pageWidth / 1.5 : 800}
|
||||
width={wordCloudWidth(isMobile, pageWidth)}
|
||||
height={DefaultProp.graphHeight}
|
||||
wordPadding={12}
|
||||
desktopMaxFontSize={84}
|
||||
|
@ -200,7 +201,7 @@ export default function Academics() {
|
|||
>
|
||||
<WordCloud
|
||||
data={A11}
|
||||
width={isMobile ? pageWidth / 1.5 : 800}
|
||||
width={wordCloudWidth(isMobile, pageWidth)}
|
||||
height={DefaultProp.graphHeight}
|
||||
wordPadding={20}
|
||||
desktopMaxFontSize={80}
|
||||
|
@ -225,7 +226,7 @@ export default function Academics() {
|
|||
>
|
||||
<WordCloud
|
||||
data={A14}
|
||||
width={isMobile ? pageWidth / 1.5 : 800}
|
||||
width={wordCloudWidth(isMobile, pageWidth)}
|
||||
height={DefaultProp.graphHeight}
|
||||
wordPadding={7}
|
||||
desktopMaxFontSize={75}
|
||||
|
@ -312,7 +313,7 @@ export default function Academics() {
|
|||
<WordCloud
|
||||
// TODO: Tweak WordCloud values
|
||||
data={A18i}
|
||||
width={isMobile ? pageWidth / 1.5 : 800}
|
||||
width={wordCloudWidth(isMobile, pageWidth)}
|
||||
height={DefaultProp.graphHeight}
|
||||
wordPadding={7}
|
||||
desktopMaxFontSize={42}
|
||||
|
|
Loading…
Reference in New Issue