diff --git a/src/qqq/assets/theme/base/typography.ts b/src/qqq/assets/theme/base/typography.ts index 086f80b..5ec5508 100644 --- a/src/qqq/assets/theme/base/typography.ts +++ b/src/qqq/assets/theme/base/typography.ts @@ -218,9 +218,10 @@ const typography: Types = { }, h6: { - fontSize: pxToRem(16), + fontSize: "1.125rem", lineHeight: 1.625, ...baseHeadingProperties, + fontWeight: 500 }, subtitle1: { diff --git a/src/qqq/components/widgets/Widget.tsx b/src/qqq/components/widgets/Widget.tsx index 3d0b2ad..eaf786b 100644 --- a/src/qqq/components/widgets/Widget.tsx +++ b/src/qqq/components/widgets/Widget.tsx @@ -455,7 +455,7 @@ function Widget(props: React.PropsWithChildren): JSX.Element ////////////////////////////////////////////////////////////////////////////////////////// const labelToUse = props.widgetData?.label ?? props.widgetMetaData?.label let labelElement = ( - + {labelToUse} ); diff --git a/src/qqq/components/widgets/components/ChartSubheaderWithData.tsx b/src/qqq/components/widgets/components/ChartSubheaderWithData.tsx index 2815833..4fe43cb 100644 --- a/src/qqq/components/widgets/components/ChartSubheaderWithData.tsx +++ b/src/qqq/components/widgets/components/ChartSubheaderWithData.tsx @@ -65,7 +65,7 @@ function StackedBarChart({chartSubheaderData}: Props): JSX.Element iconName = chartSubheaderData.isUpVsPrevious ? UP_ICON : DOWN_ICON; } - let mainNumberElement = {ValueUtils.getFormattedNumber(chartSubheaderData.mainNumber)}; + let mainNumberElement = {ValueUtils.getFormattedNumber(chartSubheaderData.mainNumber)}; if(chartSubheaderData.mainNumberUrl) { mainNumberElement = {mainNumberElement} @@ -74,7 +74,7 @@ function StackedBarChart({chartSubheaderData}: Props): JSX.Element let previousNumberElement = ( <> - +  {chartSubheaderData.vsDescription} {chartSubheaderData.vsPreviousNumber && (<> ({ValueUtils.getFormattedNumber(chartSubheaderData.vsPreviousNumber)}))} @@ -91,9 +91,9 @@ function StackedBarChart({chartSubheaderData}: Props): JSX.Element {mainNumberElement} { chartSubheaderData.vsPreviousPercent != null && iconName != null && ( - - {iconName} - {chartSubheaderData.vsPreviousPercent}% + + {iconName} + {chartSubheaderData.vsPreviousPercent}% {previousNumberElement} )