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) => {
155
155
< WebMetrics
156
156
color = { CLSColor }
157
157
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 ) } ` ) } ` }
159
159
label = 'Cumulative Layout Shift'
160
160
name = 'Cumulative Layout Shift'
161
161
description = 'Calculates the shifting of elements while the page is being downloaded and rendered.'
Original file line number Diff line number Diff line change 191
191
.web-metrics-container {
192
192
display : grid ;
193
193
grid-template-columns : auto auto ;
194
- align-items : center ;
195
194
justify-content : center ;
196
195
}
197
196
You can’t perform that action at this time.
0 commit comments