Skip to content

Commit

Permalink
add the correct class to truncate the names (elastic#79921)
Browse files Browse the repository at this point in the history
Co-authored-by: Kibana Machine <[email protected]>
  • Loading branch information
kevinlog and kibanamachine committed Oct 7, 2020
1 parent 1f58db6 commit 0ce9702
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ export const EndpointList = () => {
);
const toRouteUrl = formatUrl(toRoutePath);
return (
<EuiToolTip content={hostname} anchorClassName="eui-fullWidth">
<EuiToolTip content={hostname} anchorClassName="eui-textTruncate">
<EndpointListNavLink
name={hostname}
href={toRouteUrl}
Expand Down Expand Up @@ -320,7 +320,7 @@ export const EndpointList = () => {
// eslint-disable-next-line react/display-name
render: (policy: HostInfo['metadata']['Endpoint']['policy']['applied']) => {
return (
<EuiToolTip content={policy.name} anchorClassName="eui-fullWidth">
<EuiToolTip content={policy.name} anchorClassName="eui-textTruncate">
<EndpointPolicyLink
policyId={policy.id}
className="eui-textTruncate"
Expand Down

0 comments on commit 0ce9702

Please sign in to comment.