Skip to content

Commit

Permalink
Fix unreleased regression - ellipsis on span name
Browse files Browse the repository at this point in the history
Add back the styling that adds an ellipsis to truncated span name text.
  • Loading branch information
tiffon committed Aug 21, 2017
1 parent fa6f016 commit 3797f5b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/components/TracePage/TraceTimelineViewer/SpanBarRow.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ THE SOFTWARE.
z-index: 1;
}

.span-name-wrapper {
overflow: hidden;
text-overflow: ellipsis;
}

.span-name {
outline: none;
color: #000;
Expand Down
2 changes: 1 addition & 1 deletion src/components/TracePage/TraceTimelineViewer/SpanBarRow.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export default function SpanBarRow(props) {
`}
>
<TimelineRow.Left className="span-name-column">
<div className="overflow-hidden" title={title}>
<div className="span-name-wrapper" title={title}>
<SpanTreeOffset
level={depth + 1}
hasChildren={isParent}
Expand Down

0 comments on commit 3797f5b

Please sign in to comment.