File tree Expand file tree Collapse file tree
views/performance/transactionSummary/transactionTags Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -707,7 +707,7 @@ const getTooltipStyles = (p: {theme: Theme}) => css`
707707 color : ${ p . theme . tokens . content . secondary } ;
708708 font-family : ${ p . theme . font . family . sans } ;
709709 font-variant-numeric : tabular-nums;
710- padding : ${ p . space . md } ${ p . space . xl } ;
710+ padding : ${ p . theme . space . md } ${ p . theme . space . xl } ;
711711 border-radius : ${ p . theme . radius . md } ${ p . theme . radius . md } 0 0 ;
712712 cursor : pointer;
713713 font-size : ${ p . theme . font . size . sm } ;
@@ -731,7 +731,7 @@ const getTooltipStyles = (p: {theme: Theme}) => css`
731731 border-radius : ${ p . theme . radius . md } ;
732732 }
733733 .tooltip-label {
734- margin-right : ${ p . space . md } ;
734+ margin-right : ${ p . theme . space . md } ;
735735 display : block;
736736 width : 100% ;
737737 white-space : nowrap;
@@ -771,7 +771,7 @@ const getTooltipStyles = (p: {theme: Theme}) => css`
771771 border-radius : 0 0 ${ p . theme . radius . md } ${ p . theme . radius . md } ;
772772 display : flex;
773773 justify-content : space-between;
774- gap : ${ p . space [ '2xl' ] } ;
774+ gap : ${ p . theme . space [ '2xl' ] } ;
775775 }
776776
777777 .tooltip-footer-centered {
Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ const RethinkButtonContainer = styled('div')`
164164` ;
165165
166166const AddEditContainer = styled ( 'div' ) `
167- padding: ${ space ( 1 ) } ;
167+ padding: ${ p => p . theme . space . md } ;
168168 width: 100%;
169169 background: ${ p => p . theme . tokens . background . primary } ;
170170 border-radius: ${ p => p . theme . radius . md } ;
@@ -184,5 +184,5 @@ const RethinkLabel = styled('span')`
184184 align-items: center;
185185 font-size: ${ p => p . theme . font . size . sm } ;
186186 color: ${ p => p . theme . tokens . content . secondary } ;
187- margin-right: ${ space ( 0.5 ) } ;
187+ margin-right: ${ p => p . theme . space . xs } ;
188188` ;
Original file line number Diff line number Diff line change @@ -112,6 +112,7 @@ function TagsHeatMap(
112112 aggregateColumn,
113113 } = props ;
114114
115+ const theme = useTheme ( ) ;
115116 const { view} = useDomainViewFilters ( ) ;
116117 const chartRef = useRef < ReactEchartsRef > ( null ) ;
117118 const [ chartElement , setChartElement ] = useState < VirtualReference | undefined > ( ) ;
@@ -307,7 +308,6 @@ function TagsHeatMap(
307308 }
308309 ) ;
309310
310- const theme = useTheme ( ) ;
311311 const portaledContent =
312312 ! chartElement || ! overlayState . isOpen ? null : (
313313 < PositionWrapper
You can’t perform that action at this time.
0 commit comments