Skip to content

Commit efc37a2

Browse files
committed
feat: add heightCalculation to DataDimension
1 parent e5023b3 commit efc37a2

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/components/DataDimension/Calculation/styles/DataElementSelector.style.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ export default css`
99
.dimension-list-scrollbox {
1010
position: relative;
1111
width: 100%;
12-
height: 337px;
1312
overflow: hidden;
1413
overflow-y: auto;
1514
border: 1px solid ${colors.grey400};

src/components/DataDimension/DataDimension.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ const DataDimension = ({
3232
onCalculationSave,
3333
visType,
3434
height,
35+
heightCalculation,
3536
}) => {
3637
const { serverVersion } = useConfig()
3738

@@ -132,6 +133,7 @@ const DataDimension = ({
132133
setInfoDataItem={setInfoDataItem}
133134
onEditClick={onEditClick}
134135
height={height}
136+
heightCalculation={heightCalculation}
135137
/>
136138
{currentDataItem && (
137139
<ItemOptionsSelector
@@ -176,6 +178,7 @@ DataDimension.propTypes = {
176178
currentUser: PropTypes.object,
177179
enabledDataTypes: PropTypes.array,
178180
height: PropTypes.string,
181+
heightCalculation: PropTypes.string,
179182
infoBoxMessage: PropTypes.string,
180183
visType: PropTypes.string,
181184
onCalculationSave: PropTypes.func,

0 commit comments

Comments
 (0)