@@ -46,7 +46,7 @@ const styles = () => ({
4646 } ,
4747 table : {
4848 width : '100%' ,
49- wordWrap : 'break-all ' ,
49+ overflowWrap : 'anywhere ' ,
5050 fontSize : '14px !important'
5151 } ,
5252 td : {
@@ -137,13 +137,13 @@ const CyclicVoltammetryPanel = _ref => {
137137 }
138138 } ;
139139 const getDelta = data => {
140- return data . max && data . min ? ( 0 , _chem . GetCyclicVoltaPeakSeparate ) ( data . max . x , data . min . x ) : 'undefined' ;
140+ return data . max && data . min ? ( 0 , _chem . GetCyclicVoltaPeakSeparate ) ( data . max . x , data . min . x ) . toFixed ( 5 ) : 'undefined' ;
141141 } ;
142142 const getRatio = ( feature , data ) => {
143143 const featureData = feature . data [ 0 ] ;
144144 const idx = featureData . x . indexOf ( feature . maxX ) ;
145145 const y_pecker = data . pecker ? data . pecker . y : featureData . y [ idx ] ;
146- return data . max && data . min ? ( 0 , _chem . GetCyclicVoltaRatio ) ( data . max . y , data . min . y , y_pecker ) . toFixed ( 8 ) : 'undefined' ;
146+ return data . max && data . min ? ( 0 , _chem . GetCyclicVoltaRatio ) ( data . max . y , data . min . y , y_pecker ) . toFixed ( 5 ) : 'undefined' ;
147147 } ;
148148 const rows = list . map ( ( o , idx ) => ( {
149149 idx,
@@ -159,7 +159,7 @@ const CyclicVoltammetryPanel = _ref => {
159159 jcampIdx
160160 } )
161161 } ) ) ;
162- return /*#__PURE__*/ _react . default . createElement ( _core . ExpansionPanel , null , /*#__PURE__*/ _react . default . createElement ( _core . ExpansionPanelSummary , {
162+ return /*#__PURE__*/ _react . default . createElement ( _core . Accordion , null , /*#__PURE__*/ _react . default . createElement ( _core . AccordionSummary , {
163163 expandIcon : /*#__PURE__*/ _react . default . createElement ( _ExpandMore . default , null ) ,
164164 className : ( 0 , _classnames . default ) ( classes . panelSummary )
165165 } , /*#__PURE__*/ _react . default . createElement ( _Typography . default , {
0 commit comments