CE-876 add negative marginBottom to heading

This commit is contained in:
2024-02-21 19:17:11 -06:00
parent 80fc16f0ae
commit 630f0d2dc1

View File

@ -39,7 +39,7 @@ export default function BigNumberBlock({widgetMetaData, data}: StandardBlockComp
return ( return (
<div style={{width: data.styles.width ?? "auto"}}> <div style={{width: data.styles.width ?? "auto"}}>
<div style={{fontWeight: "700", fontSize: "0.875rem", color: "#3D3D3D"}}> <div style={{fontWeight: "700", fontSize: "0.875rem", color: "#3D3D3D", marginBottom: "-0.5rem"}}>
<BlockElementWrapper data={data} slot="heading"> <BlockElementWrapper data={data} slot="heading">
<span>{data.values.heading}</span> <span>{data.values.heading}</span>
</BlockElementWrapper> </BlockElementWrapper>