File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_table Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import React from 'react';
1111import {
1212 EuiButtonIcon ,
1313 EuiDataGridControlColumn ,
14- EuiScreenReaderOnly ,
14+ EuiIconTip ,
1515 EuiToolTip ,
1616 useEuiTheme ,
1717} from '@elastic/eui' ;
@@ -71,17 +71,15 @@ export const getPinColumnControl = ({
7171 rows : FieldRow [ ] ;
7272 onTogglePinned : ( fieldName : string ) => void ;
7373} ) : EuiDataGridControlColumn => {
74+ const pinColumnHeader = i18n . translate ( 'unifiedDocViewer.fieldsTable.pinControlColumnHeader' , {
75+ defaultMessage : 'Pin field column' ,
76+ } ) ;
77+
7478 return {
7579 id : 'pin_field' ,
7680 width : 32 ,
7781 headerCellRender : ( ) => (
78- < EuiScreenReaderOnly >
79- < span >
80- { i18n . translate ( 'unifiedDocViewer.fieldsTable.pinControlColumnHeader' , {
81- defaultMessage : 'Pin field column' ,
82- } ) }
83- </ span >
84- </ EuiScreenReaderOnly >
82+ < EuiIconTip aria-label = { pinColumnHeader } type = "iInCircle" content = { pinColumnHeader } />
8583 ) ,
8684 rowCellRender : ( { rowIndex } ) => {
8785 const row = rows [ rowIndex ] ;
You can’t perform that action at this time.
0 commit comments