File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -98,11 +98,12 @@ const PerformanceVisx = (props: BarStackProps) => {
98
98
}
99
99
// filter and structure incoming data for VISX
100
100
const data = getPerfMetrics ( snapshots , getSnapshotIds ( hierarchy ) ) ;
101
-
101
+ const colorSlider = "#ff6569"
102
+ // style={{ position: 'relative' }}
102
103
// if performance tab is too small it will not return VISX component
103
104
return (
104
- < div style = { { position : 'relative' } } >
105
- < FormControlLabel
105
+ < div className = 'renderTab' >
106
+ < FormControlLabel style = { { "margin-left" : "30px" , "margin-top" : "20px" } }
106
107
control = {
107
108
< Switch
108
109
onChange = { toggleView }
@@ -113,9 +114,9 @@ const PerformanceVisx = (props: BarStackProps) => {
113
114
label = "Renders"
114
115
/>
115
116
{ /* <button onClick={toggleView}>Toggle Button</button> */ }
116
- < div >
117
+ < div style = { { "display" : "flex" , "justify-content" : "center" } } >
117
118
{ isToggled === 'frequencyCards'
118
- ? < RenderingFrequency data = { data . componentData } />
119
+ ? < RenderingFrequency data = { data . componentData } />
119
120
: < BarGraph data = { data } width = { width } height = { height } />
120
121
}
121
122
</ div >
You can’t perform that action at this time.
0 commit comments