From 3609f882a523a6fa57eda3e01abfdcaf1beee5c9 Mon Sep 17 00:00:00 2001 From: James Gowdy Date: Mon, 29 Apr 2024 17:49:59 +0100 Subject: [PATCH] [ML] AIOps: Fixing pattern analysis action buttons layout (#181960) Widening actions column width. **Before** ![image](https://github.com/elastic/kibana/assets/22172091/cd39d806-4bf1-4697-a15b-ceede90bd730) **After** ![image](https://github.com/elastic/kibana/assets/22172091/6bf738a5-f110-4cf3-b530-e147341e1414) Also fixes similar issue with the annotations table in the anomaly explorer. Issue introduced in https://github.com/elastic/kibana/pull/180514 --- .../log_categorization/category_table/category_table.tsx | 2 +- .../annotations/annotations_table/annotations_table.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/aiops/public/components/log_categorization/category_table/category_table.tsx b/x-pack/plugins/aiops/public/components/log_categorization/category_table/category_table.tsx index fc2d4b559e859..cf103f4905b20 100644 --- a/x-pack/plugins/aiops/public/components/log_categorization/category_table/category_table.tsx +++ b/x-pack/plugins/aiops/public/components/log_categorization/category_table/category_table.tsx @@ -194,7 +194,7 @@ export const CategoryTable: FC = ({ defaultMessage: 'Actions', }), sortable: false, - width: '60px', + width: '65px', actions: [ { name: labels.singleSelect.in, diff --git a/x-pack/plugins/ml/public/application/components/annotations/annotations_table/annotations_table.js b/x-pack/plugins/ml/public/application/components/annotations/annotations_table/annotations_table.js index 7703ca87317e1..9436209c5f3bb 100644 --- a/x-pack/plugins/ml/public/application/components/annotations/annotations_table/annotations_table.js +++ b/x-pack/plugins/ml/public/application/components/annotations/annotations_table/annotations_table.js @@ -692,7 +692,7 @@ class AnnotationsTableUI extends Component { columns.push( { align: RIGHT_ALIGNMENT, - width: '60px', + width: '65px', name: i18n.translate('xpack.ml.annotationsTable.actionsColumnName', { defaultMessage: 'Actions', }),