Skip to content

Commit

Permalink
fix(code/frontend): truncate blame date (#32764)
Browse files Browse the repository at this point in the history
  • Loading branch information
WangQianliang authored Mar 9, 2019
1 parent 4367231 commit acef7a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x-pack/plugins/code/public/components/main/blame.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ export class Blame extends React.PureComponent<{ blame: GitBlame; isFirstLine: b
</EuiFlexItem>
</EuiFlexGroup>
</EuiFlexItem>
<EuiFlexItem grow={false}>
<EuiText size="xs">
<EuiFlexItem grow={false} className="eui-textTruncate">
<EuiText size="xs" className="eui-textTruncate code-auto-margin">
<EuiTextColor color="subdued">{moment(blame.commit.date).fromNow()}</EuiTextColor>
</EuiText>
</EuiFlexItem>
Expand Down

0 comments on commit acef7a9

Please sign in to comment.