Some namur symbols look like they are smaller. This is not the case, every symbol has a fixed width and height, but due to their different form (triangle, circle etc.), some sizes may need to be adjusted manually in the code.
How can this be done:
In the function displayNamurHealth in ExpansionPanelDetail.jsx:
Instead of returning always the same element, just with a different img src (like below)
return <img style={{ verticalAlign: 'middle' }} src={this.state.namurLookup[status]} alt="Namur" height={height} width={width} />;
we need to differentiate based on the "status" parameter and adjust the height and width img parameters
I think it still looks like different sized symbols (even they aren't). We could implement a symbol based algorithm or we could simply rezise the symbols (if they are not used in different modes).
Some namur symbols look like they are smaller. This is not the case, every symbol has a fixed width and height, but due to their different form (triangle, circle etc.), some sizes may need to be adjusted manually in the code.
How can this be done: In the function displayNamurHealth in ExpansionPanelDetail.jsx:
Instead of returning always the same element, just with a different img src (like below)
return <img style={{ verticalAlign: 'middle' }} src={this.state.namurLookup[status]} alt="Namur" height={height} width={width} />;
we need to differentiate based on the "status" parameter and adjust the height and width img parameters