Skip to content

Commit

Permalink
Hide span details in structure tab (#291)
Browse files Browse the repository at this point in the history
* Hide span details in structure tab

* Change spelling
  • Loading branch information
joey-grafana authored Feb 3, 2025
1 parent dd1c705 commit 6c1c0bc
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,21 @@ const getStyles = (theme: GrafanaTheme2) => {
'div[data-testid="span-detail-component"] > :nth-child(4) > :nth-child(1)': {
display: 'none',
},

// Hide span details row
'.span-detail-row': {
display: 'none',
},

// Remove cursor pointer as span details is hidden
'div[data-testid="TimelineRowCell"]': {
'button[role="switch"]': {
cursor: 'text',
}
},
'div[data-testid="span-view"]': {
cursor: 'text !important',
},
}),
longText: css({
maxWidth: '800px',
Expand Down

0 comments on commit 6c1c0bc

Please sign in to comment.