File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ const StateRoute = (props: StateRouteProps) => {
155155 < WebMetrics
156156 color = { CLSColor }
157157 series = { webMetrics . CLS * 10 }
158- formatted = { ( val ) => `CLS Score: ${ ( Number . isNaN ( val ) ? 'N/A' : `${ val / 10 } ` ) } ` }
158+ formatted = { ( val ) => `CLS Score: ${ ( Number . isNaN ( val ) ? 'N/A' : `${ ( val / 10 ) . toFixed ( 3 ) } ` ) } ` }
159159 label = 'Cumulative Layout Shift'
160160 name = 'Cumulative Layout Shift'
161161 description = 'Calculates the shifting of elements while the page is being downloaded and rendered.'
Original file line number Diff line number Diff line change 191191.web-metrics-container {
192192 display : grid ;
193193 grid-template-columns : auto auto ;
194- align-items : center ;
195194 justify-content : center ;
196195}
197196
You can’t perform that action at this time.
0 commit comments