Skip to content

Commit e4bbb26

Browse files
committed
round srtext width
1 parent 0d23398 commit e4bbb26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/module/patternfly-docs/content/extensions/data-view/examples/Table/DataViewTableResizableColumnsExample.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export const ResizableColumnsExample: FunctionComponent = () => {
110110
const onResize = (_e, width) => {
111111
// eslint-disable-next-line no-console
112112
console.log('resized width: ', width);
113-
setScreenReaderText(`Column ${width} pixels`);
113+
setScreenReaderText(`Column ${width.toFixed(0)} pixels`);
114114
};
115115

116116
const columns: DataViewTh[] = [

0 commit comments

Comments
 (0)