mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[ML] Fix word break in anomalies and jobs tables (#26978)
This commit is contained in:
parent
c4afd3200a
commit
ac10ba5852
3 changed files with 16 additions and 4 deletions
|
@ -92,6 +92,7 @@ function getColumns(
|
|||
name: 'time',
|
||||
dataType: 'date',
|
||||
render: (date) => renderTime(date, interval),
|
||||
textOnly: true,
|
||||
sortable: true
|
||||
},
|
||||
{
|
||||
|
@ -113,6 +114,7 @@ function getColumns(
|
|||
numberOfRules={item.rulesLength}
|
||||
/>
|
||||
),
|
||||
textOnly: true,
|
||||
sortable: true
|
||||
}
|
||||
];
|
||||
|
@ -128,6 +130,7 @@ function getColumns(
|
|||
filter={filter}
|
||||
/>
|
||||
),
|
||||
textOnly: true,
|
||||
sortable: true
|
||||
});
|
||||
}
|
||||
|
@ -142,6 +145,7 @@ function getColumns(
|
|||
influencers={influencers}
|
||||
/>
|
||||
),
|
||||
textOnly: true,
|
||||
sortable: true
|
||||
});
|
||||
}
|
||||
|
@ -188,6 +192,7 @@ function getColumns(
|
|||
typical={item.typical}
|
||||
/>
|
||||
),
|
||||
textOnly: true,
|
||||
sortable: true
|
||||
});
|
||||
}
|
||||
|
@ -240,7 +245,8 @@ function getColumns(
|
|||
)}
|
||||
</EuiText>
|
||||
);
|
||||
}
|
||||
},
|
||||
textOnly: true,
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -390,7 +396,7 @@ class AnomaliesTable extends Component {
|
|||
unsetShowFunction={this.unsetShowRuleEditorFlyoutFunction}
|
||||
/>
|
||||
<EuiInMemoryTable
|
||||
className="ml-anomalies-table eui-textBreakWord"
|
||||
className="ml-anomalies-table eui-textOverflowWrap"
|
||||
items={tableData.anomalies}
|
||||
columns={columns}
|
||||
pagination={{
|
||||
|
|
|
@ -191,6 +191,7 @@ class ForecastsTableUI extends Component {
|
|||
}),
|
||||
dataType: 'date',
|
||||
render: (date) => formatDate(date, TIME_FORMAT),
|
||||
textOnly: true,
|
||||
sortable: true
|
||||
},
|
||||
{
|
||||
|
@ -201,6 +202,7 @@ class ForecastsTableUI extends Component {
|
|||
}),
|
||||
dataType: 'date',
|
||||
render: (date) => formatDate(date, TIME_FORMAT),
|
||||
textOnly: true,
|
||||
sortable: true
|
||||
},
|
||||
{
|
||||
|
@ -211,6 +213,7 @@ class ForecastsTableUI extends Component {
|
|||
}),
|
||||
dataType: 'date',
|
||||
render: (date) => formatDate(date, TIME_FORMAT),
|
||||
textOnly: true,
|
||||
sortable: true
|
||||
},
|
||||
{
|
||||
|
@ -250,6 +253,7 @@ class ForecastsTableUI extends Component {
|
|||
defaultMessage: 'Expires'
|
||||
}),
|
||||
render: (date) => formatDate(date, TIME_FORMAT),
|
||||
textOnly: true,
|
||||
sortable: true
|
||||
},
|
||||
{
|
||||
|
@ -267,7 +271,8 @@ class ForecastsTableUI extends Component {
|
|||
})}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
},
|
||||
textOnly: true,
|
||||
},
|
||||
{
|
||||
name: intl.formatMessage({
|
||||
|
|
|
@ -153,7 +153,8 @@ class JobsListUI extends Component {
|
|||
field: 'description',
|
||||
render: (description, item) => (
|
||||
<JobDescription job={item} />
|
||||
)
|
||||
),
|
||||
textOnly: true,
|
||||
}, {
|
||||
field: 'processed_record_count',
|
||||
name: intl.formatMessage({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue