[RAC] Alerts table widths updated (#109267)

* action and ts column widths changed

* snapshot updated

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Sergi Massaneda 2021-08-20 23:35:25 +02:00 committed by GitHub
parent acc8465c19
commit 5a00ff3075
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 1 deletions

View file

@ -26,7 +26,7 @@ export const columns: Array<
{
columnHeaderType: defaultColumnHeaderType,
id: '@timestamp',
initialWidth: DEFAULT_DATE_COLUMN_MIN_WIDTH + 5,
initialWidth: DEFAULT_DATE_COLUMN_MIN_WIDTH + 10,
},
{
columnHeaderType: defaultColumnHeaderType,

View file

@ -521,6 +521,7 @@ exports[`ColumnHeaders rendering renders correctly against snapshot 1`] = `
"compare": null,
"type": [Function],
},
"width": 108,
},
]
}

View file

@ -9,8 +9,11 @@ import { ControlColumnProps } from '../../../../../../common/types/timeline';
import { Actions } from '../actions';
import { HeaderActions } from '../actions/header_actions';
const DEFAULT_CONTROL_COLUMN_WIDTH = 108;
export const defaultControlColumn: ControlColumnProps = {
id: 'default-timeline-control-column',
width: DEFAULT_CONTROL_COLUMN_WIDTH,
headerCellRender: HeaderActions,
rowCellRender: Actions,
};