Skip to content

Commit

Permalink
Align last seen item
Browse files Browse the repository at this point in the history
  • Loading branch information
ashokaditya committed Mar 7, 2023
1 parent 4503aa5 commit 68356ac
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,12 @@ const ConsoleWindow = styled.div`
}
}
}
// ensures the last seen item in status result
// is aligned
.formatted_date_inline_tooltip {
display: inline;
}
`;

export const Console = memo<ConsoleProps>(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { EuiDescriptionList } from '@elastic/eui';
import { v4 as uuidV4 } from 'uuid';
import { i18n } from '@kbn/i18n';
import type { IHttpFetchError } from '@kbn/core-http-browser';
import { css } from '@kbn/kibana-react-plugin/common';
import type { HostInfo, PendingActionsResponse } from '../../../../../common/endpoint/types';
import type { EndpointCommandDefinitionMeta } from '../types';
import type { EndpointHostIsolationStatusProps } from '../../../../common/components/endpoint/host_isolation';
Expand Down Expand Up @@ -229,7 +230,7 @@ export const EndpointStatusActionResult = memo<
{ defaultMessage: 'Last active' }
)}
value={endpointDetails.metadata['@timestamp']}
className="eui-textTruncate"
className="eui-textTruncate formatted_date_inline_tooltip"
/>
</ConsoleCodeBlock>
),
Expand Down

0 comments on commit 68356ac

Please sign in to comment.