[Security Solution] Breaks very long hostnames so they are readable (#97253) (#97420)

* Breaks very long hostnames so they are readable

fixes elastic/kibana/issues/96282

* use utility class instead

review change
This commit is contained in:
Ashokaditya 2021-04-19 12:03:59 +02:00 committed by GitHub
parent 2f32bf5fbe
commit 3b6fdb9e8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -245,7 +245,7 @@ export const EndpointDetails = memo(
title: i18n.translate('xpack.securitySolution.endpoint.details.hostname', {
defaultMessage: 'Hostname',
}),
description: <EuiText>{details.host.hostname}</EuiText>,
description: <EuiText className="eui-textBreakAll">{details.host.hostname}</EuiText>,
},
{
title: i18n.translate('xpack.securitySolution.endpoint.details.endpointVersion', {