Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Commit

Permalink
Fix for flickering issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ry061521 committed Jul 6, 2023
1 parent 0f696b9 commit 8cfc659
Show file tree
Hide file tree
Showing 3 changed files with 637 additions and 563 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ const createFlowsheetResultCellDisplay = (resultDataSet, hideUnit, numericOverfl
);
compositeCell.push(endDisplay);

return compositeCell;
return <div className={cx('combined-display')}>{compositeCell}</div>;
}

const additionalResultsStackDisplay = (
Expand All @@ -364,7 +364,7 @@ const createFlowsheetResultCellDisplay = (resultDataSet, hideUnit, numericOverfl
);
compositeCell.push(additionalResultsStackDisplay);

return compositeCell;
return <div className={cx('combined-display')}>{compositeCell}</div>;
}

if (hasAccessoryIcons) {
Expand All @@ -377,7 +377,7 @@ const createFlowsheetResultCellDisplay = (resultDataSet, hideUnit, numericOverfl
compositeCell.push(endAccessoryIconsDisplay);
}

return compositeCell;
return <div className={cx('combined-display')}>{compositeCell}</div>;
};

const FlowsheetResultCell = (props) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,18 @@
padding: 0;
}

.combined-display {
display: flex;
flex: 1 1 100%;
margin: 0;
max-width: 100%; // Needed for IE10 truncation
padding: 0;
}

.primary-display {
align-items: center;
display: flex;
flex: 1 1 100%;
// float: left;
height: var(--terra-clinical-result-flowsheet-cell-primary-display-height, 1.78571em); // Must use ems for font scaling
margin: 0;
margin-left: var(--terra-clinical-result-flowsheet-cell-interpretation-icon-reserved-space-margin-left, 1.1875em); // Must use ems for font scaling
Expand All @@ -38,7 +45,6 @@
.end-display {
display: flex;
flex: 0 0 auto;
float: right;
height: var(--terra-clinical-result-flowsheet-cell-end-display-height, 1.78571em); // Must use ems for font scaling
min-width: 0;
}
Expand Down
Loading

0 comments on commit 8cfc659

Please sign in to comment.