Skip to content

Commit

Permalink
Merge pull request #4851 from hackerstanislav/master
Browse files Browse the repository at this point in the history
BUGFIX: F1-237 vertical alignment doesn't support metric displayed as number

Reviewed-by: https://github.com/scavnickyj
  • Loading branch information
gdgate authored Apr 5, 2024
2 parents 75c4c88 + de70610 commit 5bd4024
Showing 1 changed file with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,20 @@ function MeasureCellRenderer({
);
}

return <div>{measureDataPoints[0]?.formattedValue}</div>;
const verticalAlign = getVerticalAlign(config);
const textWrapping = getTextWrapping(config);

return (
<div
className={cx(
"gd-repeater-cell-wrapper",
`gd-vertical-align-${verticalAlign}`,
`gd-text-wrapping-${textWrapping}`,
)}
>
{measureDataPoints[0]?.formattedValue}
</div>
);
}

interface IAttributeColumnData {
Expand Down

0 comments on commit 5bd4024

Please sign in to comment.